{"id":29292845,"url":"https://github.com/tarosky/taro-clockwork-post","last_synced_at":"2026-04-01T18:30:21.444Z","repository":{"id":80335228,"uuid":"93125602","full_name":"tarosky/taro-clockwork-post","owner":"tarosky","description":"A WordPress plugin to expire post with specified date.","archived":false,"fork":false,"pushed_at":"2025-05-20T07:14:54.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-20T08:25:51.846Z","etag":null,"topics":["posts","wordpress","wordpress-plugin","wordpress-plugin-published"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/taro-clockwork-post/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarosky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-02T04:03:04.000Z","updated_at":"2025-05-20T07:24:54.000Z","dependencies_parsed_at":"2024-12-13T09:24:06.058Z","dependency_job_id":"a3f8ad1e-6c92-4185-b0a4-608ed724452d","html_url":"https://github.com/tarosky/taro-clockwork-post","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tarosky/taro-clockwork-post","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-clockwork-post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-clockwork-post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-clockwork-post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-clockwork-post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarosky","download_url":"https://codeload.github.com/tarosky/taro-clockwork-post/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-clockwork-post/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263882342,"owners_count":23524469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["posts","wordpress","wordpress-plugin","wordpress-plugin-published"],"created_at":"2025-07-06T10:11:44.755Z","updated_at":"2026-04-01T18:30:21.436Z","avatar_url":"https://github.com/tarosky.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Taro Clockwork Post\n===============================================\n\nContributors: tarosky,Takahashi_Fumiki  \nTags: post, media, expiration  \nTested up to: 6.9  \nStable tag: nightly  \nLicense: GPLv3 or later  \nLicense URI: http://www.gnu.org/licenses/gpl-3.0.txt  \n\nA WordPress plugin to expire post with specified date.\n\n## Description\n\nYou can enter expiration date on edit screen.\nThis plugin runs cron every minute to search expired posts and make them `private`.\n\n## Installation\n\n1. Upload the plugin files to the `/wp-content/plugins/taro-clockwork-post` directory, or install the plugin through the WordPress plugins screen directly.\n1. Activate the plugin through the 'Plugins' screen in WordPress.\n1. Go to `Setting \u003e Reading` and choose post type to expiration ready.\n\n## Frequently Asked Questions\n\n### How to avoid post status to be private\n\nPrivate is the default post status but if you want another case, use filter hook for that.\n\n\u003cpre\u003e\n// Filter status if post type is `product`\nadd_filter( 'tscp_expired_status', function( $status, $post ) {\n   if ( 'product' == $post-\u003epost_type ) {\n       $status = 'no-stock';\n   }\n   return $status;\n}, 10, 2 );\n\u003c/pre\u003e\n\nIf status is `false`, this plugin doesn't change post status.\nIn such situation, you might need adding any custom field to post.\nUse another action which will occur just after `tscp_expired_status`.\n\n\u003cpre\u003e\n// do something just after post status is/isn't changed.\nadd_action( 'tscp_post_expired', function( $post ) {\n   // Post is still publish,\n   // But add some custom fields\n   update_post_meta( $post-\u003eID, '_not_in_front_page', true );\n} );\n\u003c/pre\u003e\n\n### Change frequency of expiration check\n\nIf you are low-resource environment, you might need low frequency.\nFor example, assume that your site allows posts to be expired within 10 min.\nUse hook to delay interval.\n\n\u003cpre\u003e\nadd_filter( 'tscp_cron_interval', function() {\n  // Change interval from 60 sec to 600 sec.\n  return 600;\n} );\n\u003c/pre\u003e\n\n## Changelog\n\n### 1.2.6\n\n* Fix month string error in Clasic editor's meta box. This happened on Any 31st day in a month.\n\n### 1.2.2\n\n* Fix deploy script to avoid incorrect versioning.\n\n### 1.2.1\n\n* Available post type are expanded to all post types with \u003ccode\u003eshow_ui = true\u003c/code\u003e.\n* Remove \u003ccode\u003ewithState\u003c/code\u003e from editor script.\n\n### 1.2.0\n\n* Bump required PHP version.\n* Fix editor UI.\n\n### 1.1.0\n\n* Support block editor.\n\n### 1.0.1\n\n* Fix broken link on edit screen.\n* Add unit test for expiration process.\n\n### 1.0.0\n\n* Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarosky%2Ftaro-clockwork-post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarosky%2Ftaro-clockwork-post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarosky%2Ftaro-clockwork-post/lists"}