Support » Plugins and Hacks » Use of admin_head question

  • a few questions:
    first, is there a version (or a way) to make it replace and not add the information? second, is this synax:

    function greentheme_gethead() {
    echo "
    (head information here)
    ";
    }
    add_action ( 'admin_head', 'greentheme_gethead');

    correct?
    Third, when I add a <?php include (ABSPATH . ‘wp-content/plugins/green-theme/head.php’) ?> it errors out at the include. Can I not php include in a synax like that? I can’t directly put the full text of admin_header.php because it errors out there too. what am i doing wrong?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use of admin_head question’ is closed to new replies.