-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|