All features
Cherry Blossom feature
Frontend Enqueues: Styles
Owns the stylesheet registry and selects CSS or SCSS enqueue objects.
Owns the stylesheet registry and selects CSS or SCSS enqueue objects.
Capabilities and extension points
Sets the type of the enqueue.
This method defines the type as 'styles'.
Retrieves the stylesheet enqueue priority.
- return int Filtered enqueue priority.
Parses the enqueue data and returns the appropriate object.
Accepts both an array or pre-setup Enqueue object.
- param string $handle The handle of the enqueue.
- param Enqueue|array $enqueue The enqueue object or array of data.
- return Enqueue Filtered enqueue object.
Returns the default enqueues.
- return array Core style definitions keyed by asset handle.
Source reference
This editable reference page is based on the PHP documentation in frontend/enqueues/class-styles.php.