woocommerce_get_

woocommerce_get_

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_get_') is found 2 times:

  • /includes/wc-page-functions.php line 54
     
    		$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 74
    	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.