WP_Scripts::in_default_dir

Advertisement

Summery Summery

Whether a handle’s source is in a default directory.

Syntax Syntax

WP_Scripts::in_default_dir( string $src )

Parameters Parameters

$src

(string) (Required) The source of the enqueued script.

Return Return

(bool) True if found, false if not.

Source Source

File: wp-includes/class.wp-scripts.php


			

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.