tribe_asset_enqueue( string|array $slug )

Shortcut for Tribe__Assets::enqueue() to include assets.


Parameters

$slug

(string|array) (Required) Slug to enqueue


Top ↑

Source

File: src/functions/template-tags/general.php

function tribe_asset_enqueue( $slug ) {
	return tribe( 'assets' )->enqueue( $slug );
}

Top ↑

Changelog

Changelog
Version Description
4.7 Introduced.