Astra_Ext_White_Label_Markup::white_label_hide_settings()
Remove Sidebar from Astra Welcome Page for white label
Description
Source
File: classes/class-astra-ext-white-label-markup.php
public function white_label_hide_settings() { remove_action( 'astra_welcome_page_right_sidebar_content', 'Astra_Admin_Settings::astra_welcome_page_starter_sites_section', 10 ); remove_action( 'astra_welcome_page_right_sidebar_content', 'Astra_Admin_Settings::astra_welcome_page_knowledge_base_scetion', 11 ); remove_action( 'astra_welcome_page_right_sidebar_content', 'Astra_Admin_Settings::astra_welcome_page_community_scetion', 12 ); remove_action( 'astra_welcome_page_right_sidebar_content', 'Astra_Admin_Settings::astra_welcome_page_five_star_scetion', 13 ); remove_action( 'astra_welcome_page_right_sidebar_content', 'Astra_Admin_Settings::astra_welcome_page_cloudways_scetion', 14 ); // Remove Beta Updates if white label is enabled. $theme_ext_class = Astra_Theme_Extension::get_instance(); remove_action( 'astra_welcome_page_right_sidebar_content', array( $theme_ext_class, 'astra_beta_updates_form' ), 50 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.2.2 | Introduced. |