# lib/mce.php

Adds Zurb Foundation buttons to Wordpress WYSIWYG editor

Package
  ncp\wp\themes\planet_foundation
Since
  Planet Foundation 1.0.0

## Functions

`my_foundation_buttons(Array $buttons) : Array`

Adds Style button to editor

Parameters

Name | Type | Description
--- | --- | ---
$buttons | Array | Array of editor buttons

Returns

Type | Description
--- | ---
Array | Modified array

Details

Since
  Planet Foundation 1.0.0

`pf_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

Name | Type | Description
--- | --- | ---
$settings | array |

Returns

Type | Description
--- | ---
array | Modified settings

Details

Link
  Custom Styles to TinyMCE
Since
  Planet Foundation 1.0.0

Documentation was generated by phpDocumentor 2.3.0 .