woocommerce_show_addons_page

woocommerce_show_addons_page

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_show_addons_page') is found 1 times:

  • /includes/admin/class-wc-admin-menus.php line 60
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    * @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 {