Snippets — hooks
3 hooks — 0 actions · 3 filters.
| Hook | Type | Summary |
|---|---|---|
fw_ext_snippets_feature_supports | filter | Filters the supports array (title, editor, revisions) used when registering the snippets post type. |
fw_ext_snippets_post_type_name | filter | Filters the singular and plural labels used when registering the snippets post type. |
fw_ext_snippets_strip_auto_sections | filter | Filters whether a rendered snippet's auto-wrapped page-builder sections are unwrapped, passing the snippet id; defaults to true. |
fw_ext_snippets_feature_supports
🧪 filter
Filters the supports array (title, editor, revisions) used when registering the snippets post type.
add_filter( 'fw_ext_snippets_feature_supports', $callback );
Fired in: framework/extensions/snippets/class-fw-extension-snippets.php:506
fw_ext_snippets_post_type_name
🧪 filter
Filters the singular and plural labels used when registering the snippets post type.
add_filter( 'fw_ext_snippets_post_type_name', $callback );
Fired in: framework/extensions/snippets/class-fw-extension-snippets.php:497
fw_ext_snippets_strip_auto_sections
🧪 filter
Filters whether a rendered snippet's auto-wrapped page-builder sections are unwrapped, passing the snippet id; defaults to true.
add_filter( 'fw_ext_snippets_strip_auto_sections', $callback );
Fired in: framework/extensions/snippets/helpers.php:52
← Back to Hooks overview