Framework for authmgr admin page
This commit is contained in:
parent
d1b7d27aa3
commit
433b50da55
@ -124,6 +124,17 @@ function authmgr_html_append_roles( $original ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/************** PLUGIN ADMIN PAGE *************************/
|
||||||
|
|
||||||
|
yourls_add_action( 'plugins_loaded', 'authmgr_add_page' );
|
||||||
|
function authmgr_add_page() {
|
||||||
|
yourls_register_plugin_page( 'authmgr', 'Authorization Manager', 'authmgr_display_page' );
|
||||||
|
}
|
||||||
|
|
||||||
|
function authmgr_display_page() {
|
||||||
|
echo "Get option content and render page here!";
|
||||||
|
}
|
||||||
|
|
||||||
/**************** CAPABILITY TEST/ENUMERATION ****************/
|
/**************** CAPABILITY TEST/ENUMERATION ****************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user