allowed_options

allowed_options

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('allowed_options') is found 1 times:

  • /wp-admin/options.php line 237
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    * @since 5.5.0
     *
     * @param array $allowed_options The allowed options list.
     */
    $allowed_options = apply_filters( 'allowed_options', $allowed_options );
     
    if ( 'update' === $action ) { // We are saving settings sent from a settings page.
        if ( 'options' === $option_page && ! isset( $_POST['option_page'] ) ) { // This is for back compat and will eventually be removed.
            $unregistered = true;
            check_admin_referer( 'update-options' );
        } else {