Auto delete FluentCommunity drug shortages posts
This code snippet automatically schedules the deletion of FluentCommunity posts created in a specific space after…
YB Settings
function impBrandsArchive( $query ) { $query->set( 'post_type', [ 'hot-tubs', 'swim-spas', 'saunas' ] ); } add_action( 'elementor/query/brands_archive',…
WWLC - Route logout through home URL to prevent exposing the hidden login path
/** * Route logout through home URL to prevent exposing the hidden login path. */ add_filter(…
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…
test
echo 'test';
Combined Date – Time Format (Sample: am / pm) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Tweak Price Display (Adjusts the Prices) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Use the Variation Name instead of Slug within the Product Name detail of Product exports
function custom_woo_ce_get_product_title_attribute_formatting( $format = 'slug', $post_id ) { // Set the format to Attribute Title $format…
unitap.io
function myfirsttheme_setup() { /* * Load additional block styles. */ $styled_blocks = ['latest-comments']; foreach ( $styled_blocks…
Disable WP Error Log and PHP Error
Turning off PHP Errors in WordPress