admin_print_styles WordPress Action Hook

The admin_print_styles hook is a hook that is called when the admin interface is being printed. This hook allows you to add your own styles to the admin interface.

do_action( 'admin_print_styles' ) #

Fires when styles are printed for all admin pages.


More Information

admin_print_styles should not be used to enqueue styles or scripts on the admin pages. Use admin_enqueue_scripts instead.


Top ↑

Source

File: wp-admin/admin-header.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.