Auto Generate Virtual Coupon After a Customer Completed an Order

/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…

Bulk Change Custom Order Status wpadmin

add_filter( 'bulk_actions-edit-shop_order', 'misha_register_bulk_action' ); // edit-shop_order is the screen ID of the orders page function misha_register_bulk_action(…

Remove Location Taxonomy

// Add custom Bulk Action to the Pages view function custom_add_bulk_action() { global $post_type; if ($post_type…

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…

<10

wordpress

Doylton Davis
<10

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

Hide the Email Test Menu Item in Settings

This snippet will hide the 'Email Test' tab from your WP Mail SMTP settings menu.

MemberPress: Change the Member’s User Role After a Specific Membership Subscription Cancelation

The code automatically changes the member's user role once the subscription is canceled. This will be…

MemberPress: Set the order of payment methods

This code lets you set the order that the payment gateways that appear on the MemberPress…

1 76 77 78 79 80 122