WP Manifestindependent plugin directory
manifest / integrations / elasticpress-embargo-attachments

ElasticPress Embargo Attachments

Hide documents from ElasticPress search until a given date & time

by dxw · github.com/dxw/elasticpress-embargo-attachments · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/dxw/elasticpress-embargo-attachments/archive/refs/heads/master.zip

Readme

ElasticPress Embargo Attachments

A WordPress plugin that allows media library files to be embargoed from search when using ElasticPress.

By default, ElasticPress will return all media library items in search results if Document Search is activated. Items are indexed on upload, and immediately start being returned in search.

This plugin provides an "Embargo datetime" option on media library items, and then hides those items from search until the datetime has passed.

Installation

Clone this repo into your WordPress /plugins/ directory, and activate the plugin.

You will need to re-index the first time you set an embargo datetime. After that, ElasticPress will recognise embargo datetimes automatically.

Development

Install the dependencies:

composer install

Run the tests:

vendor/bin/peridot spec

Run the linter:

vendor/bin/php-cs-fixer fix 

Read the full README on GitHub →

Releases

TagPublished
v1.1.0 Jun 20, 2025
v1.0 Jun 16, 2025

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.