Description
This filter is used to change the current Conductor content layout data.
This filter is executed when the Conductor::get_conductor_content_layout_data()
function is called.
Technical Details
Type: Filter
Parameters:
$conductor_content_layout_data (array): Current content layout data
Return Value: array, The Conductor content layout data structure
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 adds a custom piece of data to the current Conductor content layout data 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
documentation pages.