Home Plugin documentation Hooks and functions Functions pip_get_fonts()

 

 

Here we go!

 

pip_get_fonts()

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 fonts that are set in Pilo’Press > Styles > Fonts

/**
 * Get Pilo'Press fonts
 *
 * @return array
 */
function pip_get_fonts() {

    $pip_tinymce = acf_get_instance( 'PIP_TinyMCE' );

    return $pip_tinymce->get_custom_fonts();
}

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

or you think a specific topic deserve more informations?

 

Wave to bottom