Skip to content
Get Bricks

Filter: bricks/dynamic_data/register_hook

Filters the WordPress action hook used to register Bricks dynamic data providers and tags.

  • $hook (string): The action hook name. Defaults to init.
add_filter( 'bricks/dynamic_data/register_hook', function( $hook ) {
// Register dynamic data on 'wp_loaded' instead of 'init'
return 'wp_loaded';
} );