Skip to content

Commit 6b5f138

Browse files
authored
Use capability filter for settings
1 parent f3f2284 commit 6b5f138

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/inc/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ function ableplayer_menu() {
527527
add_options_page(
528528
__( 'Able Player', 'ableplayer' ),
529529
__( 'Able Player', 'ableplayer' ),
530-
'manage_options',
530+
apply_filters( 'ableplayer_capability', 'manage_options' ),
531531
'ableplayer',
532532
'ableplayer_settings_form'
533533
);

0 commit comments

Comments
 (0)