Redirect Lost Password to a Custom Page
By default, some plugins redirect the “Lost Password” link to the WordPress admin panel. This snippet…
Studex CM Main Menu
function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…
ACF_KEYSMST_MSTCASECPT - TAB: SAFETY & RISK (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: SAFETY & RISK (v3.0 Modular) * ============================================ *…
Untitled Snippet
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function custom_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Hide Campaign Meta (Author, Date, Comments)
Automatically hides theme-generated meta information from campaign pages (only for Charitable Pro 1.8.13).
Show the Venue Photo Above the Venue Details
Venue pages have no built-in featured image output. This snippet prints the venue photo above the…
Remove Custom Submenu
Helps to organize and preserve admin area settings from user errors without disabling any functionalities.
Secure Admin Menu
Use with caution. Remove unnecessary admin menus and redirect direct access to those pages.
Override Commissions Email Template
Modify the email template sent for commissions
Change Vendor Pending Message
Changes the message shown to vendors when their account is pending.
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Custom fields to vendor settings page
add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>