Astra_Addon_Theme_Builder::setup_menu()

Setup menu.


Description


Return

(void)


Source

File: addons/advanced-hooks/classes/class-astra-addon-theme-builder.php

		public function setup_menu() {

			$is_astra_addon_active = Astra_Ext_Extension::is_active( 'advanced-hooks' );

			if ( $is_astra_addon_active ) {
				add_submenu_page(
					self::$plugin_slug,
					__( 'Site Builder', 'astra-addon' ),
					__( 'Site Builder', 'astra-addon' ),
					'manage_options',
					'theme-builder',
					array( $this, 'render_theme_builder' ),
					2
				);
			}
		}

Changelog

Changelog
Version Description
4.5.0 Introduced.


User Contributed Notes

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