Schedule block
Add scheduling options to WordPress blocks (Gutenberg)
★ 0stars
109release downloads
1forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/superhuit-agency/schedule-block/releases/download/v1.0.0/schedule-block.zipReadme
Schedule block
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;
});Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | Apr 17, 2023 | schedule-block.zip | 109 |