Home Plugin documentation Hooks and functions Functions pip_get_tailwind_config()
pip_get_tailwind_config()
Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.
Get your TailwindCSS JSON configuration (either the generated one by Pilo’Press > Styles > Configuration or the overriden one in Pilo’Press > Styles > TailwindCSS > Configuration)
/**
* Get configuration
*
* @return mixed
*/
function pip_get_tailwind_config() {
$tailwind = acf_get_instance( 'PIP_Tailwind' );
return $tailwind->get_tailwind_config();
}
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links