Function Reference: geodir_action_before_single_post
Summary
Outputs the action ‘geodir_before_single_post’ on the details page main content.
Global Values
- $post
- (object) (required) The current post object.
- Default: None
Package
GeoDirectory
Change Log
Since: 1.0.0
Actions
‘geodir_before_single_post’ [Line: 1499]
Source File
geodir_action_before_single_post() is located in geodirectory_template_actions.php [Line: 1489]
Source Code
function geodir_action_before_single_post() { global $post; /** * Called at the very start of the details page output, before the title section. * * @since 1.0.0 * @param object $post The current post object. * @global WP_Post|null $post The current post, if available. */ do_action('geodir_before_single_post', $post); // extra action }