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_TextReplace - Changes "Courses" to "Modules" and "Lessons" to "Steps

* Changes "Courses" to "Modules" and "Lessons" to "Steps" * Add to WP Code Snippets or…

ismail daugherty PRO
<10

SYNC_DIR - Users

/** * WPCode Snippet: WordPress Users Sync - FINAL NO DUPLICATES VERSION * Description: Bulletproof manual…

ismail daugherty PRO
<10

Remove Stats Summary Block From Specific Campaign

Hide the campaign summary stats from a few specific campaign, using the campaign IDs.

Disable Gutenberg Editor (use Classic Editor)

Switch back to the Classic Editor by disablling the Block Editor.

<10

MemberPress: Remove Accordion from Courses

Use this snippet if you would like to remove the accordion CSS and JS from the…

1 85 86 87 88 89 214