This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Astra_Ext_Header_Account_Component_Configs::get_help_text_notice()
Help notice message to be displayed when the Link type set as Menu.
Description
Return
(String) HTML Markup for the help notice.
Source
File: classes/builder/type/header/account/class-astra-ext-header-account-component-configs.php
private function get_help_text_notice() {
if ( class_exists( 'WooCommerce' ) ) {
$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the WooCommerce "My Account" link.', 'astra-addon' );
} elseif ( class_exists( 'LifterLMS' ) ) {
$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the LifterLMS "My Account" link.', 'astra-addon' );
} else {
$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the Link provided in the Link Tab.', 'astra-addon' );
}
return $notice;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.5.9 | Introduced. |