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); } }

Hello

echo "hello World !";

LIFTER - Course to Module

Replace Syntax

ismail daugherty PRO
<10

ACF_KEYSMST_MSTCASECPT - TAB: Case Status & Tracking (v3.0 Modular)

/** * ============================================ * MST CASE - TAB: Case Status & Tracking (v3.0 Modular) * ============================================…

ismail daugherty PRO
<10

Format Date

Change the date format of the "Date of Donation" column in the Donations export.

run on payment page

if payment page, send email

Untitled Snippet

function vqs_leaderboard_assets() { wp_enqueue_style( 'vqs-leaderboard-css', get_stylesheet_directory_uri() . '/vqs-leaderboard.css', [], '1.0' ); wp_enqueue_script( 'vqs-leaderboard-js', get_stylesheet_directory_uri() . '/vqs-leaderboard.js',…

REST API Shopping Cart Endpoint for EDD

Adds a REST API endpoint that returns the current user's shopping cart.

Paystack Split Payments Integration with WC Vendors — Creating the Split Configuration

public function process_split_payment( $order ) { $vendors_due = WCV_Vendors::get_vendor_dues_from_order( $order, false ); $sub_accounts = array(); foreach…

1 … 104 105 106 107 108 … 242