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

Disable Gutenberg Editor (use Classic Editor)

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

<10

TOC before first heading

Output the TOC block before the first heading in a post

Add Payment ID to Sales API

If sequential order numbers are on, those numbers are returned in the sales API instead of…

1 126 127 128 129 130 220