master home page final
Shop Doggyography Blog Contact More than a collar. A nightly transformation. An expression of identity. A…
LIFTER_TextReplace - Changes "Courses" to "Modules" and "Lessons" to "Steps
* Changes "Courses" to "Modules" and "Lessons" to "Steps" * Add to WP Code Snippets or…
WPCODE_DIR_AA_CPT - WPCode Snippets Sync CPT Registration
* Description: Registers shadow CPT for syncing WPCode snippets to REST API * Location: Run Everywhere…
Dynamic Current Year
The shortcode prints out dynamic current year wherever used [current_year] in the frontend layout, e.g. 2020…
Sort User ID
Make the User ID column sortable in the WordPress admin users table. First register the column,…
Restrict Role Access
Limit logged in user access to admin area and redirect to home page based on role.
WP HTML Minify
Minify frontend HTML pages.
change from the address
change email and name posted
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…
Basic WP escaping functions
// ❌ Don't use _e(), __(), _x() etc. to output data // ✅ Use the escaped…