Filter: bricks/builder/post_title
Filter: bricks/builder/post_title
Section titled “Filter: bricks/builder/post_title”Filters the post title displayed in the Bricks builder interface (e.g., in search results, dropdowns, and lists).
Parameters
Section titled “Parameters”$title(string): The post title.$post_id(int): The ID of the post.
Example usage
Section titled “Example usage”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 ); Was this page helpful?