Helper functions to make generating WordPress post type labels and taxonomy labels easier

Generate post type and taxonomy labels easily by specifying the singular and plural version of the…

Translate Products

Code required to translate the word "Products".

User Switching

Easily switch to a Customer when using the User Switching plugin

ai content idea generator

function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…

Auto register guests that purchase

function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…

Carla Mawyin
<10

Register Podcast Meta Fields

Automatically adds the 'Key Concepts', 'Referenced in this Episode', and 'Companion Post Link' input fields to…

Craig Carroll
<10

Using an Office 365 GCC or DoD email address

For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…

Paid Memberships Pro with WC Vendors

// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…

Add custom page to the vendor dashboard

// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…

Add terms to downloads shortcode

Adds label and comma-separated terms list to [downloads] shortcode based on taxonomy

Enable Downloads in the WP REST API

Enable the download products to show in the WP REST API

Disable WooCommerce widgets on vendor store pages

/** * Remove widgets from the vendor store and single product pages conditionally. * * You…

1 28 29 30 31 32 125