pronamic / wp-pronamic-post-expiration
Easily manage and automate post expiration in WordPress.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 1
Type:wordpress-plugin
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-20 15:20:16 UTC
README
Easily manage and automate post expiration in WordPress.
WordPress post statuses
Post status pronamic_expired
This plugin registers the post status pronamic_expired
.
Post type support
\register_post_type( 'your_post_type', [ // … 'supports' => [ 'title', 'editor', 'thumbnail', // … 'pronamic_expiration', ], // … ] );
Advanced support options
\register_post_type( 'your_post_type', [ // … 'supports' => [ 'title', 'editor', 'thumbnail', // … 'pronamic_expiration' => [ 'post_status' => 'pronamic_expired', 'show_ui' => true, 'source' => 'your-plugin-slug', ], ], // … ] );