{"id":50326,"date":"2016-08-16T19:59:44","date_gmt":"2016-08-16T19:59:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-post-expires\/"},"modified":"2020-11-02T17:13:45","modified_gmt":"2020-11-02T17:13:45","slug":"wp-post-expires","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/wp-post-expires\/","author":7422512,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.5","stable_tag":"trunk","tested":"5.5.18","requires":"5.0","requires_php":"","requires_plugins":"","header_name":"WP Post Expires","header_author":"XNicON","header_description":"","assets_banners_color":"fcca2c","last_updated":"2020-11-02 17:13:45","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/xnicon.ru\/donate","header_plugin_uri":"","header_author_uri":"https:\/\/xnicon.ru","rating":3.3,"author_block_rating":0,"active_installs":2000,"downloads":36150,"num_ratings":14,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"X-NicON","date":"2016-08-16 20:03:37"},"1.0.1":{"tag":"1.0.1","author":"X-NicON","date":"2016-08-17 20:53:21"},"1.0.2":{"tag":"1.0.2","author":"X-NicON","date":"2016-08-18 18:04:36"},"1.1":{"tag":"1.1","author":"X-NicON","date":"2018-03-17 10:21:54"},"1.2.1":{"tag":"1.2.1","author":"X-NicON","date":"2019-03-06 14:43:36"},"1.2.2":{"tag":"1.2.2","author":"X-NicON","date":"2019-03-12 12:53:18"},"1.2.3":{"tag":"1.2.3","author":"X-NicON","date":"2019-05-27 09:54:21"},"1.2.4":{"tag":"1.2.4","author":"X-NicON","date":"2019-05-29 08:30:55"}},"upgrade_notice":{"1.0":"<p>HELLO FRIEND<\/p>"},"ratings":{"1":5,"2":1,"3":0,"4":1,"5":7},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1475897,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1475897,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.1","1.2.1","1.2.2","1.2.3","1.2.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1475897,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":1475897,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":1475897,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Select date and time in post","2":"Add personal prefix for any post","3":"Default settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1946,9501,50106,50105,75952],"plugin_category":[],"plugin_contributors":[88330],"plugin_business_model":[],"class_list":["post-50326","plugin","type-plugin","status-publish","hentry","plugin_tags-expiration","plugin_tags-expire","plugin_tags-expired-post","plugin_tags-posts-expiring","plugin_tags-wordpress-post-expiry","plugin_contributors-x-nicon","plugin_committers-x-nicon"],"banners":{"banner":"https:\/\/ps.w.org\/wp-post-expires\/assets\/banner-772x250.png?rev=1475897","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-post-expires\/assets\/icon-128x128.png?rev=1475897","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-post-expires\/assets\/screenshot-1.jpg?rev=1475897","caption":"Select date and time in post"},{"src":"https:\/\/ps.w.org\/wp-post-expires\/assets\/screenshot-2.jpg?rev=1475897","caption":"Add personal prefix for any post"},{"src":"https:\/\/ps.w.org\/wp-post-expires\/assets\/screenshot-3.jpg?rev=1475897","caption":"Default settings"}],"raw_content":"<!--section=description-->\n<p>A simple plugin that allows to set the date for the posts, after which will be performed one of 3 actions: \"Add prefix to title\", \"Move to drafts\", \"Move to trash\".<\/p>\n\n<h4>Features:<\/h4>\n\n<ul>\n<li>Set post expire date and time<\/li>\n<li>Support custom post type (post and pages by default)<\/li>\n<li>Action for expired posts: move to drafts, move to trash or add custom prefix for title<\/li>\n<li>Adds class \"post-expired\" to post that expired on the site and in admin interface (for custom styles in theme)<\/li>\n<\/ul>\n\n<h4>Use in theme:<\/h4>\n\n<pre><code>XNPostExpires::isExpired($post_id)\n\nXNPostExpires::dateExpiration($post_id, $date_format)\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li><p>Copy to plugins folder (\/wp-content\/plugins)<\/p><\/li>\n<li><p>Activate plugin from plugins page in admin interface<\/p><\/li>\n<li><p>Use the Settings-&gt;Reading Name screen to configure the plugin<\/p><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.5<\/h4>\n\n<p>fix bug loop expire. Tnx @d79 (https:\/\/github.com\/d79)\nversiob wp 5.5.3<\/p>\n\n<h4>1.2.4<\/h4>\n\n<p>fix bugs classic editor\/gutenberg js, tnx @micahjsharp<\/p>\n\n<h4>1.2.3<\/h4>\n\n<p>add status in post state\nchange logic for draft and trash, tnx @micahjsharp\nuse local wp timezone<\/p>\n\n<h4>1.2.2<\/h4>\n\n<p>support classic editor on wp 5.0+<\/p>\n\n<h4>1.2.1<\/h4>\n\n<p>Small fixes:\nhttps:\/\/wordpress.org\/support\/topic\/fatal-error-3074\/ ( tnx @marknopfler )\nhttps:\/\/wordpress.org\/support\/topic\/fix-js-and-php-error\/ ( tnx @lastant )<\/p>\n\n<h4>1.2<\/h4>\n\n<p>use DateTime Picker jQuery-ui\nrefactoring<\/p>\n\n<h4>1.1<\/h4>\n\n<p>conflicts resolved\nfix datetime picker\nupdate datetime picker<\/p>\n\n<h4>1.0.3<\/h4>\n\n<p>small fixes\nadd Italian translation (tnx, Paolo Centomani)<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>fix notice and accessing static property<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>fixed translation<\/p>\n\n<h4>1.0<\/h4>\n\n<p>init1 - Mr. Robot<\/p>","raw_excerpt":"Plugin adds post expires time after which will be performed actions: add prefix to title, move to drafts or trash.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50326"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/x-nicon"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50326"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50326"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50326"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50326"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50326"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}