Home Plugin documentation Hooks and functions Functions pip_get_tailwind_config()



Here we go!



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();

You didn’t find the answer you were looking for?

or you think a specific topic deserve more informations?


Wave to bottom