PMT PostGrid for block editor with elementor support 2.42.7 has 0 actions and 6 filters, read directly from its source code on Nov 19, 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 PMT PostGrid for block editor with elementor support is about to use
add_filter( 'pmtpofob_post_grid_card_html', function( $clean, $the_id, $arg3, $args ) {
// Change $clean here.
return $clean;
}, 10, 4 );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
-
/** * Filters a single rendered card's HTML before it's returned. */ apply_filters( 'pmtpofob_post_grid_card_html', ob_get_clean(), get_the_ID(), 'row', $args ); -
/** * Filters the complete rendered HTML of a grid instance, right before it's * returned. JSON-LD is not included here -- it's printed separately by the * caller via pmtpofob_post_grid_print_structured_data(), since it can never be * run through wp_kses_post() alongside this markup without its <script> tag * being stripped. */ apply_filters( 'pmtpofob_post_grid_output', ob_get_clean(), $args, 'design_2' ); -
/** * This filter is documented in * pmtpofob_post_grid_build_design1_grid_content(). */ apply_filters( 'pmtpofob_post_grid_query_args', $query_args, $args, 'design_2' ); -
/** * Filters the color pair used for a category badge, meta text, tags, and the * "Read more" button. Lets developers override the palette with their own * brand colors, either for a specific category (check $term_id) or across the * board. */ apply_filters( 'pmtpofob_post_grid_category_color', $fallback_color, 0 ); -
/** * Filters the fully-merged args array before it's used for anything. */ apply_filters( 'pmtpofob_post_grid_args', $args ); -
/** * Filters the ItemList structured-data array before it's serialized, so * developers can add/remove fields or drop it entirely (return an empty array * or false) for a specific grid instance. */ apply_filters( 'pmtpofob_post_grid_structured_data', $schema, $items );
Generated from PMT PostGrid for block editor with elementor support's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: