Home Plugin documentation Hooks and functions Filters pip/flexible/layouts/icons/hide
pip/flexible/layouts/icons/hide
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.
This filter allows you to choose icons to hide above layouts in Pilo’Press flexible content field. If there’s hidden icons, a “More action” icon will be added automatically
<?php
add_filter( 'pip/flexible/layouts/icons/hide', function( $hidden_icons, $icons, $layout, $field ) {
return array
(
'add',
'copy',
'edit-pip-layout',
);
}, 10, 4 );
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links