Description
This action can be used to output data for individual/specific Conductor Widgets. By default, Conductor_Widget_Query
uses this hook display all Conductor Widget data.
Note: To output data for all Conductor Widgets see the conductor_widget_display_content
documentation page.
This action is executed when the Conductor_Widget::widget()
function is called (when a Conductor Widget is displayed, after the query is initialized).
Technical Details
Type: Action
Parameters:
$post (WP_Post): The WP_Post object for the current post
$instance (array): The Conductor Widget instance (settings)
$widget (Conductor_Widget): The Conductor_Widget instance
$conductor_widget_query (Conductor_Widget_Query): The Conductor Widget Query instance
Resources
- View on GitHub
Class: Conductor_Widget_Query
Class: Conductor_Widget_Default_Query
Class: Conductor_Widget
conductor_widget_display_content
Examples
The following example outputs data in Conductor Widgets at a specific priority (order) based on the widget number.
The following example outputs data in Conductor Widgets at a specific priority (order) for a specific Conductor Widget.