#43161 closed defect (bug) (invalid)
add_theme_support('custom-header')
Reported by: | santipm | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.2 |
Component: | General | Keywords: | |
Focuses: | administration | Cc: |
Description
No Working
<?php $defaults = array( 'default-image' => '', 'width' => 0, 'height' => 0, 'flex-height' => false, 'flex-width' => false, 'uploads' => false, 'random-default' => true, 'header-text' => true, 'default-text-color' => '#000', 'wp-head-callback' => '_entro', 'admin-head-callback' => 'admin_header_style', 'admin-preview-callback' => '', ); add_theme_support( 'custom-header', $defaults ); //Access Panel admin Aparencce->Header function admin_header_style() { echo '<script type=""text/javascript">console.log("admin script")</script>'; } //its works add_action('admin-head','admin_header_style' );
Change History (2)
Note: See
TracTickets for help on using
tickets.