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