Meta pixel for WordPress icon
Analytics & Tracking

Meta pixel for WordPress hooks reference

  • By Facebook
  • v5.2.2
  • Updated

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.

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

  • core/class-facebookserversideevent.php line 100 · used in 2 places
    do_action( 'send_server_events', array( $event ), 1 );
  • core/class-facebookserversideevent.php line 176
    apply_filters( 'before_conversions_api_event_sent', $events );
  • core/class-facebooksignalstate.php line 80
    apply_filters( 'facebook_signals_held', self::$held );
  • core/class-releasesignalsajax.php line 526
    apply_filters( 'fbpix_release_signals_rate_limit_max', self::RATE_LIMIT_MAX_EVENTS );
  • core/class-releasesignalsajax.php line 554
    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: