Skip to content

Commit

Permalink
add admin contact deats
Browse files Browse the repository at this point in the history
  • Loading branch information
neilgee committed Oct 25, 2017
1 parent 49b88e8 commit 084bef5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions includes-child/client-file.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ function bt_hide_tabs() {
}
}

add_action( 'admin_init', 'wsl_add_footer' );
// Add credit and contact deats
function wsl_add_footer() {
add_filter( 'admin_footer_text', 'wsl_edit_text', 11 );
}

function wsl_edit_text() {
return "<em>Site by <a href='https://websitelove.com.au' rel='nofollow'>WebsiteLove</a>, contact <a href='mailto:[email protected]' rel='nofollow'>us</a></em>";
}


// Roles & Capabilities
// @link https://wordpress.stackexchange.com/questions/4191/allow-editors-to-edit-menus
// add editor the privilege to edit theme & menu
Expand Down

0 comments on commit 084bef5

Please sign in to comment.