wp_enqueue_scripts

Advertisement

Summery Summery

Wrapper for do_action(‘wp_enqueue_scripts’)

Syntax Syntax

wp_enqueue_scripts()

Description Description

Allows plugins to queue scripts for the front end using wp_enqueue_script(). Runs first in wp_head() where all is_home(), is_page(), etc. functions are available.

Source Source

File: wp-includes/script-loader.php

						'name'  => $style_properties['name'],
						'label' => $style_properties['label'],
					)
				)
			);
		}
	}
	$register_script_lines[] = '} )();';

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.