Essential Content Types 2.7 has 15 actions and 14 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 Essential Content Types fires an action
add_action( 'ect_after_featured_content_loop', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Essential Content Types is about to use
add_filter( 'jetpack_enable_cpt', function( $value, $arg2 ) {
// Change $value here.
return $value;
}, 10, 2 );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
-
jetpack_enable_cpt
filter/** * This action is documented in modules/custom-post-types/nova.php */ apply_filters( 'jetpack_enable_cpt', false, self::CUSTOM_POST_TYPE ); -
customize_load_themes
filter/** * Filters the theme data loaded in the customizer. */ apply_filters( 'customize_load_themes', $themes, $args, $wp_customize ); -
/** * Hook: ect_after_featured_content_loop. */ do_action( 'ect_after_featured_content_loop' ); -
ect_after_portfolio_loop
action/** * Hook: ect_after_portfolio_loop. */ do_action( 'ect_after_portfolio_loop' ); -
ect_after_service_loop
action/** * Hook: ect_after_service_loop. */ do_action( 'ect_after_service_loop' ); -
ect_after_testimonial_loop
action/** * Hook: ect_after_testimonial_loop. */ do_action( 'ect_after_testimonial_loop' ); -
/** * Hook: ect_no_articles_found. */ do_action( 'ect_no_featured_content_found' ); -
ect_no_portfolio_found
action/** * Hook: ect_no_portfolio_found. */ do_action( 'ect_no_portfolio_found' ); -
ect_no_service_found
action/** * Hook: ect_no_service_found. */ do_action( 'ect_no_service_found' ); -
ect_no_testimonial_found
action/** * Hook: ect_no_testimonial_found. */ do_action( 'ect_no_testimonial_found' ); -
/** * Change the Featured Content thumbnail size. */ apply_filters( 'featured_content_thumbnail_size', $size ); -
/** * This filter is documented in * wp-admin/includes/class-wp-theme-install-list-table.php */ apply_filters( "install_themes_table_api_args_{$old_filter}", $args ); -
/** * Change the Portfolio thumbnail size. */ apply_filters( 'jetpack_portfolio_thumbnail_size', 'ect-jetpack-portfolio-featured' ); -
service_thumbnail_size
filter/** * Change the Service thumbnail size. */ apply_filters( 'service_thumbnail_size', $size ); -
testimonial_thumbnail_size
filter/** * Change the Testimonial thumbnail size. */ apply_filters( 'testimonial_thumbnail_size', $size ); -
the_content
filter/** * This filter is already documented in core. wp-includes/post-template.php */ apply_filters( 'the_content', $value ); -
ctp_options
filterapply_filters( 'ctp_options', $default_options ); -
do_action( 'ect_before_featured_content_loop', $layout[$atts['columns']] ); -
ect_before_portfolio_loop
actiondo_action( 'ect_before_portfolio_loop', $layout[$atts['columns']] ); -
ect_before_service_loop
actiondo_action( 'ect_before_service_loop', $layout[$atts['columns']] ); -
ect_before_testimonial_loop
actiondo_action( 'ect_before_testimonial_loop', $layout[$atts['columns']] ); -
ect_get_template_part
filterapply_filters( 'ect_get_template_part', $template, $slug, $name ); -
ect_template_path
filterapply_filters( 'ect_template_path', 'ect-templates/' );
Generated from Essential Content Types'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: