Skip to content
Get Bricks

Filter: bricks/builder/post_title

Filters the post title displayed in the Bricks builder interface (e.g., in search results, dropdowns, and lists).

  • $title (string): The post title.
  • $post_id (int): The ID of the post.
add_filter( 'bricks/builder/post_title', function( $title, $post_id ) {
// Example: Append the post ID to the title
return $title . ' (ID: ' . $post_id . ')';
}, 10, 2 );