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) : ArrayAdds Style button to editor
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $buttons | Array | Array of editor buttons |
| Type | Description |
|---|---|
| Array | Modified array |
- Since
- Planet Foundation 1.0.0
pf_mce_before_init(array $settings) : arrayAdds 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 |
| Type | Description |
|---|---|
| array | Modified settings |
- Link
- Custom Styles to TinyMCE
- Since
- Planet Foundation 1.0.0