use API function wph_add_screen_meta_panel (RIP add_screen_meta_link)

- abuyoyo/meta-screen-links ~0.11
- abuyoyo/wphelper-utility ~0.4
This commit is contained in:
abuyoyo 2022-05-18 16:19:35 +03:00 committed by abuoyoyo
parent cd3e065166
commit 12e2fd9312

View File

@ -52,10 +52,10 @@ class NoticeManager{
* @uses screen-meta-links-api library * @uses screen-meta-links-api library
*/ */
function register_notice_manager_panel(){ function register_notice_manager_panel(){
if ( ! function_exists( 'add_screen_meta_link' ) ) if ( ! function_exists( 'wph_add_screen_meta_panel' ) )
return; return;
add_screen_meta_link( wph_add_screen_meta_panel(
'meta-link-notices', // $id 'meta-link-notices', // $id
'Notices', // $text 'Notices', // $text
'', // $href - not used '', // $href - not used