ACF\AI\GEO\Outputs
Posts::init
Initialize the GEO Posts extension
Method of the class: Posts{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Posts = new Posts(); $Posts->init();
Changelog
| Since 6.8.0 | Introduced. |
Posts::init() Posts::init code ACF 6.8.8
public function init() {
// Add front-end JSON-LD output for posts.
add_action( 'wp_head', array( $this, 'output_jsonld_data' ) );
}