YB Settings
function impBrandsArchive( $query ) { $query->set( 'post_type', [ 'hot-tubs', 'swim-spas', 'saunas' ] ); } add_action( 'elementor/query/brands_archive',…
Price Option Not Checked
Prevent variable pricing options from being checked by default
MemberPress: Hide Protected Posts on Archive Page
Hides posts that the current user (or guest) does not have access to from archive pages.
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(…
Disable Product delete for published products only
/** * This will disable delete only for published products, leaving drafts to be able to…
change the name of the Commission column
if ( ! function_exists( 'wcv_change_commission_table_columns_name' ) ) { /** * Change the name of the commission…
Change the "Commission" header for the Recent Orders table
Change the "Commission" header for the Recent Orders table using the "wcvendors_recent_order_table_columns" filter hook.
Woocommerce category archive sort products by date by default
Change the name of the category (in this e.g. gramatas). Now it will show newest products…
AstraFormatFix
add_filter( 'astra_v4_block_editor_compat', "__return_true" );
Extra WordPress Filters in Pro (Do something with the ticket availability display) | Display Eventbrite Events
Using this filter, you can change the ticket availability display. filter: (‘wfea_availability_display‘ , $msg, $total_sold, $event_capacity)…
Tweak Price Display (Appends Text) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Add a single Order export field with all Shipping address details
function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( 'name' => 'shipping_address_full', 'label' => 'Shipping: All details',…
Headers and Footers
To track Google analytics.