Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/superhuit-agency/schedule-block/releases/download/v1.0.0/schedule-block.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Add scheduling options to WordPress blocks (Gutenberg)
Usage
Register the blocks you want to have the scheduling options available by adding block(s) through the javascript filter scheduleBlock.blocksToAddSchedule which should be enqueued in the editor.
Example
wp.hooks.addFilter('scheduleBlock.blocksToAddSchedule', 'my-plugin/namespace', function( blockNames ) {
blockNames.push('core/heading');
blockNames.push('core/image');
// blockNames.push('my-plugin/block-name');
return blockNames;
});Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads