Post Types — hooks
6 hooks — 1 actions · 5 filters.
| Hook | Type | Summary |
|---|---|---|
fw_ext_post_types_archive_query | filter | Filters the query vars applied to a user-created post type's archive, given the post type, definition, and query. |
fw_ext_post_types_args | filter | Filters the final register_post_type() args for a user-created post type before it is registered, passing the slug and saved definition row. |
fw_ext_post_types_blueprints | filter | Filters the available Post Types blueprints (slug to definition map) offered when creating a new post type or taxonomy. |
fw_ext_post_types_saved | action | Fires after post type and taxonomy definitions change, passing new and previous definitions so listeners can invalidate registration-dependent caches. |
fw_ext_post_types_taxonomy_args | filter | Filters the final register_taxonomy() args for a user-created taxonomy before registration, passing the slug, bound object types, and definition row. |
fw_unysonplus_admin_submenu_order | filter | Filters the ordering of Unyson+ admin submenu items by page slug, letting code reorder the submenu. |
fw_ext_post_types_archive_query
🧪 filter
Filters the query vars applied to a user-created post type's archive, given the post type, definition, and query.
add_filter( 'fw_ext_post_types_archive_query', $callback );
Fired in: framework/extensions/post-types/includes/class-fw-post-types-registrar.php:463
fw_ext_post_types_args
🧪 filter
Filters the final register_post_type() args for a user-created post type before it is registered, passing the slug and saved definition row.
add_filter( 'fw_ext_post_types_args', $callback );
Fired in: framework/extensions/post-types/includes/class-fw-post-types-registrar.php:139
fw_ext_post_types_blueprints
🧪 filter
Filters the available Post Types blueprints (slug to definition map) offered when creating a new post type or taxonomy.
add_filter( 'fw_ext_post_types_blueprints', $callback );
Fired in: framework/extensions/post-types/includes/class-fw-post-types-blueprints.php:329
fw_ext_post_types_saved
🎬 action
Fires after post type and taxonomy definitions change, passing new and previous definitions so listeners can invalidate registration-dependent caches.
add_action( 'fw_ext_post_types_saved', $callback );
Fired in: framework/extensions/post-types/class-fw-extension-post-types.php:182
fw_ext_post_types_taxonomy_args
🧪 filter
Filters the final register_taxonomy() args for a user-created taxonomy before registration, passing the slug, bound object types, and definition row.
add_filter( 'fw_ext_post_types_taxonomy_args', $callback );
Fired in: framework/extensions/post-types/includes/class-fw-post-types-registrar.php:267
fw_unysonplus_admin_submenu_order
🧪 filter
Filters the ordering of Unyson+ admin submenu items by page slug, letting code reorder the submenu.
add_filter( 'fw_unysonplus_admin_submenu_order', $callback );
Fired in: framework/extensions/post-types/class-fw-extension-post-types.php:281
← Back to Hooks overview