woocommerce_get_

woocommerce_get_

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_') is found 2 times:

  • /includes/wc-page-functions.php line 84
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
            $page = 'myaccount';
        }
     
        $page = apply_filters( 'woocommerce_get_' . $page . '_page_id', get_option( 'woocommerce_' . $page . '_page_id' ) );
     
        return $page ? absint( $page ) : -1;
    }
     
    /**
     * Retrieve page permalink.
  • /includes/wc-page-functions.php line 104
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
        if ( ! $permalink ) {
            $permalink = is_null( $fallback ) ? get_home_url() : $fallback;
        }
     
        return apply_filters( 'woocommerce_get_' . $page . '_page_permalink', $permalink );
    }
     
    /**
     * Get endpoint URL.
     *
     * Gets the URL for an endpoint, which varies depending on permalink settings.