WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Action Reference/wp print scripts

Contents

Description

Since WordPress 3.3, wp_print_scripts should not be used to enqueue styles or scripts. (see: http://make.wordpress.org/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)

Use wp_enqueue_scripts instead.

Source File

wp_print_scripts() is located in wp-includes/functions.wp-scripts.php

See also

External Links

Related