Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: How to add verify icon in about author template

Discussion in 'Misc WordPress Requests' started by PCBOKS SYSTEM, Nov 10, 2017.

  1. PCBOKS SYSTEM

    Guest

    Reply To: How to add verify icon in about author template, by PCBOKS SYSTEM

    function change_role_name() {
    global $wp_roles;

    if ( ! isset( $wp_roles ) )
    $wp_roles = new WP_Roles();

    //You can list all currently available roles like this…
    //$roles = $wp_roles->get_names();
    //print_r($roles);

    //You can replace “administrator” with any other role “editor”, “author”, “contributor” or “subscriber”…
    $wp_roles->roles[‘administrator’][‘name’] = ‘Super Administrator’[​IMG];
    $wp_roles->role_names[‘administrator’] = ‘Super Administrator’[​IMG];
    }
    add_action(‘init’, ‘change_role_name’);

    Reply To: How to add verify icon in about author template
     
    #1

Share This Page

Web Hosting