AnWP Post Grid and Post Carousel Slider for Elementor 1.4.0 has 27 actions and 8 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 AnWP Post Grid and Post Carousel Slider for Elementor fires an action
add_action( 'anwp-pg-el/element/before_controls_end', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value AnWP Post Grid and Post Carousel Slider for Elementor is about to use
add_filter( 'anwp-pg-el/admin/elements_load_more_args', function( $data, $arg2 ) {
// Change $data here.
return $data;
}, 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
-
/** * Before end of controls. */ do_action( 'anwp-pg-el/element/before_controls_end', $this ); -
/** * Load Section - Query */ do_action( 'anwp-pg-el/general/section_query', $this ); -
/** * Load Section - Header. */ do_action( 'anwp-pg-el/general/section_header', $this ); -
/** * This filter is documented in includes/class-anwp-post-grid-elements.php */ apply_filters( 'anwp-pg-el/admin/elements_load_more_args', $data, $request->get_params() ); -
/** * This filter is documented in includes/class-anwp-post-grid-elements.php */ apply_filters( 'anwp-pg-el/admin/elements_pagination_args', $data, $request->get_params() ); -
/** * Extend list of predefined icons. */ apply_filters( 'anwp-pg-el/config/octi_icons_default', $options ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-classic-blog/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-classic-blog/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-classic-blog/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-classic-grid/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-classic-grid/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-classic-grid/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-classic-slider/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-classic-slider/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-classic-slider/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-flex-slider/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-flex-slider/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-flex-slider/before_controls_start', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-hero-block/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-hero-block/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-light-grid/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-light-grid/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-light-grid/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-simple-grid/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-simple-grid/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-simple-grid/before_controls_start', $this ); -
/** * After Control Section - Header. */ do_action( 'anwp-pg-el/element-simple-slider/after_control_section_header', $this ); -
/** * Before end of controls. */ do_action( 'anwp-pg-el/element-simple-slider/before_controls_end', $this ); -
/** * Before start of controls. */ do_action( 'anwp-pg-el/element-simple-slider/before_controls_start', $this ); -
anwp-pg-el/welcome/data
filter/** * Filter Welcome page data. */ apply_filters( 'anwp-pg-el/welcome/data', $data ); -
apply_filters( 'anwp-pg-el/public/get_grid_posts_args', $args, $options ); -
apply_filters( 'anwp-pg-el/public/replace_category_label_by_c_tax', $post_id, $data->labels_by_c_tax ); -
do_action( 'anwp-pg-el/settings/after_config' ); -
apply_filters( 'anwp-pg-el/settings/vue_app_id', 'anwp-pg-app-settings' );
Generated from AnWP Post Grid and Post Carousel Slider for Elementor'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: