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' );
			}
		}

Changelog

Changelog
Version Description
4.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.