Astra_Addon_Theme_Builder::astra_theme_builder_disable_notices()
Disable notices for Site Builder page.
Description
Return
(void)
Source
File: addons/advanced-hooks/classes/class-astra-addon-theme-builder.php
public function astra_theme_builder_disable_notices() { if ( isset( $_GET['page'] ) && 'theme-builder' === $_GET['page'] ) { remove_all_actions( 'admin_notices' ); remove_all_actions( 'all_admin_notices' ); } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |