woocommerce_show_addons_page

woocommerce_show_addons_page

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_show_addons_page') is found 1 times:

  • /includes/admin/class-wc-admin-menus.php line 60
    		 * @since 8.2.1
    		 *
    		 * @param bool $show_addons_page If the addons page should be included.
    		 */
    		if ( apply_filters( 'woocommerce_show_addons_page', true ) ) {
    			if ( FeaturesUtil::feature_is_enabled( 'marketplace' ) ) {
    				$container = wc_get_container();
    				$container->get( Marketplace::class );
    
    				add_action( 'admin_menu', array( $this, 'addons_my_subscriptions' ), 70 );
    			} else {