get_user_option_{$option}

get_user_option_{$option}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('get_user_option_{$option}') is found 1 times:

  • /wp-includes/user.php line 772
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
         * @param mixed   $result Value for the user's option.
         * @param string  $option Name of the option being retrieved.
         * @param WP_User $user   WP_User object of the user whose option is being retrieved.
         */
        return apply_filters( "get_user_option_{$option}", $result, $option, $user );
    }
     
    /**
     * Updates user option with global blog capability.
     *
     * User options are just like user metadata except that they have support for