PMT PostGrid for block editor with elementor support icon
Page Builders & Blocks

PMT PostGrid for block editor with elementor support hooks reference

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.

functions.phpyour child theme
// 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

  • pmt-postgrid-block-editor-elementor-support.php line 888 · used in 3 places
    /**
     * 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 );
  • pmt-postgrid-block-editor-elementor-support.php line 1432 · used in 3 places
    /**
     * 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' );
  • pmt-postgrid-block-editor-elementor-support.php line 1331 · used in 3 places
    /**
     * This filter is documented in
     * pmtpofob_post_grid_build_design1_grid_content().
     */
    apply_filters( 'pmtpofob_post_grid_query_args', $query_args, $args, 'design_2' );
  • pmt-postgrid-block-editor-elementor-support.php line 188 · used in 2 places
    /**
     * 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 );
  • pmt-postgrid-block-editor-elementor-support.php line 1501
    /**
     * Filters the fully-merged args array before it's used for anything.
     */
    apply_filters( 'pmtpofob_post_grid_args', $args );
  • pmt-postgrid-block-editor-elementor-support.php line 1165
    /**
     * 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.

Plugin 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 this

Not 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: