Home Plugin documentation Hooks and functions Functions pip_get_colors()
pip_get_colors()
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.
Returns an array of the colors that are set in Pilo’Press > Styles > Configuration > Colors
/**
* Get Pilo'Press colors
*
* @return array
*/
function pip_get_colors() {
$pip_tinymce = acf_get_instance( 'PIP_TinyMCE' );
return $pip_tinymce->get_custom_colors();
}
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links