Description
This filter is used to change the current Conductor content layout properties.
This filter is executed when the Conductor::get_conductor_content_layout()
function is called.
Technical Details
Type: Filter
Parameters:
$conductor_content_layout (array): Current content layout properties
Return Value: array, The Conductor content layout data structure if Conductor::is_conductor()
Resources
- View on GitHub
Conductor::get_conductor_content_layout()
Conductor_Template_Loader::template_include()
Conductor::get_conductor_content_layout()
- Guide: Conductor Content Layouts
Examples
The following example sets the correct Conductor content layout properties for a custom post type named “test”. It can be used in conjunction with the examples on the conductor_is_conductor
and conductor_content_layout_data
documentation pages.