Home Plugin documentation Hooks and functions Functions pip_get_colors()



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.

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

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

or you think a specific topic deserve more informations?


Wave to bottom