Home Plugin documentation Hooks and functions Filters pip/builder/parameters
pip/builder/parameters
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 change ACFE builder parameters.
Default value:
add_filter( 'pip/builder/parameters', function ( $args ) {
return array(
'acfe_permissions' => '', // Empty if acf defaults value or array of WP_Roles slug
'acfe_flexible_stylised_button' => 1, // Better actions buttons integration
'acfe_flexible_layouts_thumbnails' => 1, // Set a thumbnail for each layouts
'acfe_flexible_layouts_settings' => 1, // Whether or not to choose a field group to clone and to be used as a configuration modal
'acfe_flexible_layouts_ajax' => 1,
'acfe_flexible_layouts_templates' => 1, // Render the layout using custom template, CSS and JS files
'acfe_flexible_layouts_placeholder' => 0, // Display a placeholder with an icon
'acfe_flexible_disable_ajax_title' => 1,
'acfe_flexible_close_button' => 1,
'acfe_flexible_title_edition' => 1, // Editing layout's title
'acfe_flexible_clone' => 1, // Cloning layouts
'acfe_flexible_copy_paste' => 1, // Copy / pasting layouts
'acfe_flexible_modal_edition' => 0, // Editing layouts in a modal
'acfe_flexible_layouts_state' => '', // Force layouts to be collapsed or opened
'acfe_flexible_hide_empty_message' => 1, // Hide the empty message box
'acfe_flexible_empty_message' => '', // Click the "Add Row" button below to start creating your layout
'acfe_flexible_layouts_previews' => 1, // Use layouts render settings to display a dynamic preview in the administration
'acfe_flexible_modal' => array( //Edit layout content in a modal
'acfe_flexible_modal_enabled' => '1',
'acfe_flexible_modal_col' => '6',
'acfe_flexible_modal_categories' => '1',
),
);
} );
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links