Home Plugin documentation Hooks and functions Filters pip/layouts/always_show_collection
pip/layouts/always_show_collection
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 always show collection badge (otherwise it’s only displayed if there are 2 layouts with the same title).
Default value: false
Expected return value type: bool
add_filter( 'pip/layouts/always_show_collection', function ( $bool ) {
return false;
} );
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links