Auto Generate Virtual Coupon After a Customer Completed an Order

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

WooCommerce to Google Sheets schaahi store

add_action('woocommerce_order_status_completed', 'send_order_to_google_sheets', 10, 1); function send_order_to_google_sheets($order_id) { $order = wc_get_order($order_id); if (!$order) return; $line_items = $order->get_items();…

Custom Field to Vendor Settings Page

/* WC Vendors Pro - My Custom Field */ function store_bank_details( ){ if ( class_exists( 'WCVendors_Pro'…

AI

navdeep dhillon
<10

Remove table from dashboard

if ( ! function_exists( 'wcv_remove_recent_order_table_columns' ) ) { /** * Remove columns from Recent Orders table…

Expand the Edit Abilities

use Elementor\Controls_Manager; use Elementor\Group_Control_Background; function add_background_and_overlay_to_layout_tab($element, $args) { // === NORMAL BACKGROUND === $element->start_controls_section( 'custom_background_layout', […

wpadmin add phone number with address in orders page

add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 50, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post;…

Disable Deactivation Links

Adds a filter to disable plugin deactivation links from admin dashboard for all users except the…

Bloomberg

Verife.ltd - Company Profile & News

<10

Back to Top

Simple back to top button. When used as shortcode, recommended to be placed at the end…

Secure Admin Menu

Use with caution. Remove unnecessary admin menus and redirect direct access to those pages.

Set the ranges for Calendar View | Display Eventbrite Events

The following code snippet filters the valid ranges for the next/prev keys of the calendar views…

Combined Date – Time Format (Do something with the Local Start Time) | Display Eventbrite Events

The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…

1 … 99 100 101 102 103 … 240