Newpost Catch 1.4.0 has 0 actions and 13 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.
// Change a value Newpost Catch is about to use
add_filter( 'NewpostCatch_widget_post_type', function( $instance ) {
// Change $instance here.
return $instance;
}, 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
-
apply_filters( 'NewpostCatch_widget_post_type', $instance['post_type'] ); -
NewpostCatch_widget_cat
filterapply_filters( 'NewpostCatch_widget_cat', $instance['cat'] ); -
NewpostCatch_widget_css
filterapply_filters( 'NewpostCatch_widget_css', $instance['css']['active'] ); -
NewpostCatch_widget_height
filterapply_filters( 'NewpostCatch_widget_height', $instance['height'] ); -
NewpostCatch_widget_ignore
filterapply_filters( 'NewpostCatch_widget_ignore', $instance['ignore_check']['active'] ); -
NewpostCatch_widget_number
filterapply_filters( 'NewpostCatch_widget_number', $instance['number'] ); -
NewpostCatch_widget_title
filterapply_filters( 'NewpostCatch_widget_title', $instance['title'] ); -
NewpostCatch_widget_width
filterapply_filters( 'NewpostCatch_widget_width', $instance['width'] ); -
npc_post_permalink
filterapply_filters( 'npc_post_permalink', get_permalink(), $post_id ); -
npc_post_title
filterapply_filters( 'npc_post_title', get_the_title(), $post_id ); -
npc_sc_post_permalink
filterapply_filters( 'npc_sc_post_permalink', esc_url( get_permalink() ), $post_id ); -
npc_sc_post_title
filterapply_filters( 'npc_sc_post_title', '<span class="title">' . esc_html( get_the_title() ) . '</span>', $post_id ); -
npc_thumb
filterapply_filters( 'npc_thumb', $this->pluginDir . '/no_thumb.png' );
Generated from Newpost Catch'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: