Disabling the Admin Bar for Non-Admin Users

add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }

ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields

/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…

ismail daugherty PRO
<10

TICKET NUMBER

/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…

Untitled Snippet

peter zatopek
<10

Disallow point redemption if cart has subscription product.

This snippet will remove the point redemption option if the cart has a subscription product

Limit Purchase Total

Sets a purchase amount and prevents customers from purchasing more than that amount at one time.

Disable Wish Lists by Category

Customize this plugin to remove wish lists from certain categories of downloads

Allow HTML in the product description

function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…

Add custom page to the vendor dashboard - custom menu link

add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…

TplMng

// This code is part of the template, $tplData['hasShellZip'] is provided through TplMng $hasShellZip = $tplData['hasShellZip'];…

Durectlink

https://www.highcpmgate.com/nhbhtr0d?key=03e2438ad5e312b7ac5fafb7447c08d2

1 81 82 83 84 85 126