allowed_options

allowed_options

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('allowed_options') is found 1 times:

  • /wp-admin/options.php line 233
     * @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 {