do_action( 'admin_color_scheme_picker', int $user_id )
- Since
- 3.0.0, 3.8.1
Fires in the 'Admin Color Scheme' section of the user editing screen.
Description
The section is only enabled if a callback is hooked to the action, and if there is more than one defined color scheme for the admin.
Parameters
$user_idint- The user ID.
Fired at · 1
wp-admin/user-edit.php:350file scope
Source
View on Trac ↗View on GitHub ↗
344 *345 * @since 3.0.0346 * @since 3.8.1 Added `$user_id` parameter.347 *348 * @param int $user_id The user ID.349 */350 do_action( 'admin_color_scheme_picker', $user_id );351 ?>352 </td>353 </tr>354 <?php endif; ?>355 356 <?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
3.8.1
Added $user_id parameter.from the docblock
3.0.0
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.