Need a unique gift idea?
A Pastebin account makes a great Christmas gift

WordPress - Change role name

lorro Jul 19th, 2017 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <?php
  2.   // WordPress - Change role name
  3.   add_action( 'init', 'change_role_name' );
  4.   function change_role_name() {
  5.     global $wp_roles;
  6.     $wp_roles->roles['administrator']['name'] = 'Webmaster';
  7.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand