Schema App Structured Data 2.4.0 has 6 actions and 20 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Schema App Structured Data fires an action
add_action( 'hunch_schema_settings_section', function( $arg1, $arg2, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value Schema App Structured Data is about to use
add_filter( 'hunch_schema_thing_markup_excerpt', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
do_action( 'hunch_schema_settings_section', 'schema_option_name', 'schema-app-setting', 'plugin_settings' ); -
apply_filters( 'hunch_schema_thing_markup_excerpt', 'This is a protected post.' ); -
hunch_schema_page_path_url
filterapply_filters( 'hunch_schema_page_path_url', '' ); -
apply_filters( 'hunch_schema_meta_box_post_types', $PostTypes, $PostType ); -
do_action( 'hunch_schema_settings_sanitize', 'graph_uri', ( isset( $this->Settings['graph_uri'] ) ? $this->Settings['graph_uri'] : '' ), $new_input['graph_uri'] ); -
apply_filters( 'hunch_schema_thing_markup_permalink', esc_url($permalink) ); -
apply_filters( 'hunch_schema_thing_markup_videos', reset( $videos ) ); -
the_content
filterapply_filters( 'the_content', get_post_field( 'post_content', $post->ID ) ); -
excerpt_length
filterapply_filters( 'excerpt_length', 55 ); -
excerpt_more
filterapply_filters( 'excerpt_more', ' ' . '[…]' ); -
get_the_excerpt
filterapply_filters( 'get_the_excerpt', $post->post_excerpt, $post ); -
hunch_schema_markup
filterapply_filters( 'hunch_schema_markup', $SchemaMarkup, $SchemaMarkupType, $post, $PostType ); -
apply_filters( 'hunch_schema_markup_api_data_source', $account_id, $this->resource_url ); -
apply_filters( 'hunch_schema_markup_breadcrumb', $SchemaThing->getBreadcrumb(), $PostType ); -
hunch_schema_markup_render
actiondo_action( 'hunch_schema_markup_render', $SchemaMarkup, $SchemaMarkupType, $post, $PostType, $JSON ); -
hunch_schema_markup_website
filterapply_filters( 'hunch_schema_markup_website', $SchemaThing->getWebSite(), $PostType ); -
hunch_schema_meta_box
actiondo_action( 'hunch_schema_meta_box', $post ); -
apply_filters( 'hunch_schema_render_app_markup', $RenderSchemaMarkup ); -
apply_filters( 'hunch_schema_thing_markup_author', $author ); -
apply_filters( 'hunch_schema_thing_markup_comments', $comments ); -
apply_filters( 'hunch_schema_thing_markup_image', $image ); -
apply_filters( 'hunch_schema_thing_markup_publisher', $publisher ); -
apply_filters( 'hunch_schema_thing_markup_tags', $post_tags ); -
hunch_schema_thing_post_type
filterapply_filters( 'hunch_schema_thing_post_type', $post_type );
Generated from Schema App Structured Data's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: