├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── assets └── images │ ├── plugin-block-settings-menu-item-screenshot.png │ ├── plugin-document-setting-panel.png │ ├── plugin-more-menu-item.png │ ├── plugin-post-publish-panel.png │ ├── plugin-post-status-info-location.png │ ├── plugin-pre-publish-panel.png │ ├── plugin-sidebar-closed-state.png │ ├── plugin-sidebar-more-menu-item.gif │ ├── plugin-sidebar-open-state.png │ └── q1-screenshot.png ├── package.json ├── slotfills-and-filters.php └── src ├── faq ├── README.md ├── q1 │ ├── README.md │ └── q1-solution.php └── q2 │ └── README.md ├── filters ├── README.md ├── blocks-getblockmenudefaultclassname │ ├── README.md │ ├── examples │ │ ├── basic │ │ │ ├── README.md │ │ │ └── index.js │ │ └── per-block │ │ │ ├── README.md │ │ │ └── index.js │ └── index.js ├── blocks-getsavecontent-extraprops │ ├── README.md │ └── index.js ├── editor-blockedit │ ├── README.md │ ├── examples │ │ ├── basic │ │ │ ├── README.md │ │ │ └── index.js │ │ └── per-block │ │ │ ├── README.md │ │ │ └── index.js │ └── index.js └── index.js ├── index.js ├── slots ├── README.md ├── available-slot-fills.md ├── combine-them.md ├── examples │ ├── index.js │ ├── plugin-block-settings-menu-item │ │ ├── README.md │ │ └── index.js │ ├── plugin-document-setting-panel │ │ ├── README.md │ │ └── index.js │ ├── plugin-more-menu-item │ │ ├── README.md │ │ └── index.js │ ├── plugin-post-publish-panel │ │ ├── README.md │ │ └── index.js │ ├── plugin-post-status-info │ │ ├── README.md │ │ └── index.js │ ├── plugin-pre-publish-panel │ │ ├── README.md │ │ └── index.js │ ├── plugin-sidebar-more-menu-item │ │ ├── README.md │ │ └── index.js │ └── plugin-sidebar │ │ ├── README.md │ │ └── index.js ├── how-does-gutenberg-do-it.md ├── plugin-block-settings-menu-item.md ├── plugin-document-setting-panel.md ├── plugin-more-menu-item.md ├── plugin-post-publish-panel.md ├── plugin-post-status-info.md ├── plugin-pre-publish-panel.md ├── plugin-sidebar-more-menu-item.md ├── plugin-sidebar.md └── wp-plugins-api.md └── svg └── icons └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | /dist/bundle.js 3 | /build/ -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/README.md -------------------------------------------------------------------------------- /assets/images/plugin-block-settings-menu-item-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-block-settings-menu-item-screenshot.png -------------------------------------------------------------------------------- /assets/images/plugin-document-setting-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-document-setting-panel.png -------------------------------------------------------------------------------- /assets/images/plugin-more-menu-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-more-menu-item.png -------------------------------------------------------------------------------- /assets/images/plugin-post-publish-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-post-publish-panel.png -------------------------------------------------------------------------------- /assets/images/plugin-post-status-info-location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-post-status-info-location.png -------------------------------------------------------------------------------- /assets/images/plugin-pre-publish-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-pre-publish-panel.png -------------------------------------------------------------------------------- /assets/images/plugin-sidebar-closed-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-sidebar-closed-state.png -------------------------------------------------------------------------------- /assets/images/plugin-sidebar-more-menu-item.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-sidebar-more-menu-item.gif -------------------------------------------------------------------------------- /assets/images/plugin-sidebar-open-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/plugin-sidebar-open-state.png -------------------------------------------------------------------------------- /assets/images/q1-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/assets/images/q1-screenshot.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/package.json -------------------------------------------------------------------------------- /slotfills-and-filters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/slotfills-and-filters.php -------------------------------------------------------------------------------- /src/faq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/faq/README.md -------------------------------------------------------------------------------- /src/faq/q1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/faq/q1/README.md -------------------------------------------------------------------------------- /src/faq/q1/q1-solution.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/faq/q1/q1-solution.php -------------------------------------------------------------------------------- /src/faq/q2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/faq/q2/README.md -------------------------------------------------------------------------------- /src/filters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/README.md -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/README.md -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/examples/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/examples/basic/README.md -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/examples/basic/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/examples/basic/index.js -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/examples/per-block/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/examples/per-block/README.md -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/examples/per-block/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/examples/per-block/index.js -------------------------------------------------------------------------------- /src/filters/blocks-getblockmenudefaultclassname/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getblockmenudefaultclassname/index.js -------------------------------------------------------------------------------- /src/filters/blocks-getsavecontent-extraprops/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getsavecontent-extraprops/README.md -------------------------------------------------------------------------------- /src/filters/blocks-getsavecontent-extraprops/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/blocks-getsavecontent-extraprops/index.js -------------------------------------------------------------------------------- /src/filters/editor-blockedit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/README.md -------------------------------------------------------------------------------- /src/filters/editor-blockedit/examples/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/examples/basic/README.md -------------------------------------------------------------------------------- /src/filters/editor-blockedit/examples/basic/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/examples/basic/index.js -------------------------------------------------------------------------------- /src/filters/editor-blockedit/examples/per-block/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/examples/per-block/README.md -------------------------------------------------------------------------------- /src/filters/editor-blockedit/examples/per-block/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/examples/per-block/index.js -------------------------------------------------------------------------------- /src/filters/editor-blockedit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/editor-blockedit/index.js -------------------------------------------------------------------------------- /src/filters/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/filters/index.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/index.js -------------------------------------------------------------------------------- /src/slots/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/README.md -------------------------------------------------------------------------------- /src/slots/available-slot-fills.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/available-slot-fills.md -------------------------------------------------------------------------------- /src/slots/combine-them.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/combine-them.md -------------------------------------------------------------------------------- /src/slots/examples/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-block-settings-menu-item/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-block-settings-menu-item/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-block-settings-menu-item/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-block-settings-menu-item/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-document-setting-panel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-document-setting-panel/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-document-setting-panel/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-document-setting-panel/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-more-menu-item/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-more-menu-item/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-more-menu-item/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-more-menu-item/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-post-publish-panel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-post-publish-panel/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-post-publish-panel/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-post-publish-panel/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-post-status-info/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-post-status-info/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-post-status-info/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-post-status-info/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-pre-publish-panel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-pre-publish-panel/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-pre-publish-panel/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-pre-publish-panel/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-sidebar-more-menu-item/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-sidebar-more-menu-item/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-sidebar-more-menu-item/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-sidebar-more-menu-item/index.js -------------------------------------------------------------------------------- /src/slots/examples/plugin-sidebar/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-sidebar/README.md -------------------------------------------------------------------------------- /src/slots/examples/plugin-sidebar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/examples/plugin-sidebar/index.js -------------------------------------------------------------------------------- /src/slots/how-does-gutenberg-do-it.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/how-does-gutenberg-do-it.md -------------------------------------------------------------------------------- /src/slots/plugin-block-settings-menu-item.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-block-settings-menu-item.md -------------------------------------------------------------------------------- /src/slots/plugin-document-setting-panel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-document-setting-panel.md -------------------------------------------------------------------------------- /src/slots/plugin-more-menu-item.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-more-menu-item.md -------------------------------------------------------------------------------- /src/slots/plugin-post-publish-panel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-post-publish-panel.md -------------------------------------------------------------------------------- /src/slots/plugin-post-status-info.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-post-status-info.md -------------------------------------------------------------------------------- /src/slots/plugin-pre-publish-panel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-pre-publish-panel.md -------------------------------------------------------------------------------- /src/slots/plugin-sidebar-more-menu-item.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-sidebar-more-menu-item.md -------------------------------------------------------------------------------- /src/slots/plugin-sidebar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/plugin-sidebar.md -------------------------------------------------------------------------------- /src/slots/wp-plugins-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/slots/wp-plugins-api.md -------------------------------------------------------------------------------- /src/svg/icons/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/10up/slotfill-and-filter-demos/HEAD/src/svg/icons/index.js --------------------------------------------------------------------------------