Filter: bricks/frontend/disable_opengraph
Determines whether Bricks should generate and output Open Graph meta tags (e.g., og:title, og:image). Use this to disable Bricks’ Open Graph implementation if you are using a third-party SEO plugin that already handles this.
Parameters
Section titled “Parameters”$disable(bool): Whether to disable Open Graph tags.
Example usage
Section titled “Example usage”add_filter( 'bricks/frontend/disable_opengraph', function( $disable ) { // Example: Disable Open Graph tags on 'product' post type if ( is_singular( 'product' ) ) { return true; }
return $disable;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.