Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Woocommerce Adding Content to the Custom Endpoint

add_action( 'woocommerce_account_my-stuff-endpoint_endpoint', 'gc_custom_endpoint_content' );
/**
 * Custom Endpoint content
 */
function gc_custom_endpoint_content() {
 echo 'custom end point content goes here';
}
Source by wpbeaches.com #
 
PREVIOUS NEXT
Tagged: #Woocommerce #Adding #Content #Custom #Endpoint
ADD COMMENT
Topic
Name
4+5 =