lib/mce.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Adds Zurb Foundation buttons to Wordpress WYSIWYG editor
    Package
    ncp\wp\themes\planet_foundation  
    Since
    Planet Foundation 1.0.0  

    Functions

    functionmy_foundation_buttons(Array $buttons) : Array

    Adds Style button to editor

    Parameters
    NameTypeDescription
    $buttonsArray

    Array of editor buttons

    Returns
    TypeDescription
    ArrayModified array
    Details
    Since
    Planet Foundation 1.0.0  
    functionpf_mce_before_init(array $settings) : array

    Adds some Zurb's Foundation styles to TinyMCE menu

    pf_add_more_styles_to_mce filters are applied at the end of this function to allow child themes to add more styles to the menu.
    Parameters
    NameTypeDescription
    $settingsarray
    Returns
    TypeDescription
    arrayModified settings
    Details
    Link
    Custom Styles to TinyMCE  
    Since
    Planet Foundation 1.0.0  
    Documentation was generated by phpDocumentor 2.3.0 .