Action Reference: geodir_article_open

Summary

Adds the opening HTML wrapper for the article on the details page.

Global Values

$post
(object) (required) The current post object.

Default: None
$post_images
(object) (required) Image objects of current post if available.

Default: None

Parameters

$type
(string) (required) Page type.

Default: None
$id
(string) (required) The id of the HTML element.

Default: None
$class
(string) (required) The class of the HTML element.

Default: None
$itemtype
(string) (required) The itemtype value of the HTML element.

Default: None

See

‘geodir_article_close’

Change Log

Since: 1.1.0

1.5.4 Removed http://schema.org/LocalBusiness parameter as its now added via JSON-LD

Used by

geodirectory-templates/listing-detail.php: [Line: 66]

Source Code

do_action('geodir_article_open', 'details-page', 'post-' . get_the_ID(), get_post_class(), '');