option_page_capability_{$option_page}

最后更新于:2021-11-27 12:26:24

apply_filters( “option_page_capability_{$option_page}”, string $capability )

Filters the capability required when using the Settings API.

参数

$capability

(string)
The capability used for the page, which is manage_options by default.

源文件

文件: gc-admin/options.php

View on Trac