Filter: bricks/render_footer
Filter: bricks/render_footer
Section titled “Filter: bricks/render_footer”Filters the rendered HTML of the Bricks footer template. This allows you to wrap the footer in custom markup or modify its output before it is echoed to the page.
Parameters
Section titled “Parameters”$footer_html(string): The rendered HTML of the footer.
Example usage
Section titled “Example usage”add_filter( 'bricks/render_footer', function( $footer_html ) { // Example: Wrap the footer in a custom container return '<div class="custom-footer-wrapper">' . $footer_html . '</div>';} ); Was this page helpful?