| 1916 | /** |
| 1917 | * Filters a user's meta values and keys before the user is created or updated. |
| 1918 | * |
| 1919 | * Does not include contact methods. These are added using wp_get_user_contact_methods( $user ). |
| 1920 | * |
| 1921 | * @since 4.2.0 |
| 1922 | * |
| 1923 | * @param array $meta { |
| 1924 | * Default meta values and keys for the user. |
| 1925 | * |
| 1926 | * @type string nickname The user's nickname. Default is the the user's username. |
| 1927 | * @type string first_name The user's first name. |
| 1928 | * @type string last_name The user's last name. |
| 1929 | * @type string description The user's description. |
| 1930 | * @type string|bool rich_editing Whether to enable the rich-editor for the user. False if not empty. Default 'true'. |
| 1931 | * @type string comment_shortcuts Whether to enable keyboard shortcuts for the user. Default 'false'. |
| 1932 | * @type string admin_color The color scheme for a user's admin screen. Default 'fresh'. |
| 1933 | * @type integer use_ssl Whether to force ssl on user's admin area. Default 0 (ssl not forced). |
| 1934 | * @type string show_admin_bar_front Whether to show the admin bar on the front end for the user. Default 'true'. |
| 1935 | * } |
| 1936 | * @param WP_User $user User object. |
| 1937 | */ |
| 1938 | $meta = apply_filters('insert_user_meta', $meta, $user); |
| 1939 | |