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