Meta pixel for WordPress 5.2.2 has 1 actions and 4 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 Meta pixel for WordPress fires an action
add_action( 'send_server_events', function( $arg1, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value Meta pixel for WordPress is about to use
add_filter( 'before_conversions_api_event_sent', function( $events ) {
// Change $events here.
return $events;
}, 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
-
send_server_events
actiondo_action( 'send_server_events', array( $event ), 1 ); -
apply_filters( 'before_conversions_api_event_sent', $events ); -
facebook_signals_held
filterapply_filters( 'facebook_signals_held', self::$held ); -
apply_filters( 'fbpix_release_signals_rate_limit_max', self::RATE_LIMIT_MAX_EVENTS ); -
apply_filters( 'fbpix_release_signals_rate_limit_window', self::RATE_LIMIT_WINDOW );
Generated from Meta pixel for WordPress'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: