WordPress at Your Fingertips
function is not described

WC_Admin_Menus::update_my_subscriptions_title() public WC 1.0

Update the My Subscriptions document title when on that page. We want to maintain existing page URL but add it as a separate page, which requires updating it manually.

{} It's a method of the class: WC_Admin_Menus{}

No Hooks.

Return

String.

Usage

$WC_Admin_Menus = new WC_Admin_Menus();
$WC_Admin_Menus->update_my_subscriptions_title( $admin_title );
$admin_title(string) (required)
existing page title.

Code of WC_Admin_Menus::update_my_subscriptions_title() WC 5.9.0

public function update_my_subscriptions_title( $admin_title ) {
	if (
		isset( $_GET['page'] ) && 'wc-addons' === $_GET['page'] &&
		isset( $_GET['section'] ) && 'helper' === $_GET['section']
	) {
		$admin_title = 'My WooCommerce.com Subscriptions';
	}
	return $admin_title;
}