You appear to be a bot. Output may be restricted
Description
Gets the default Genesis image featured image or first attachment.
Usage
$array = Open_Graph::get_genesis_image();
Parameters
Returns
array Image info with 'url', 'height', 'width', and 'alt' keys or empty array.
Source
File name: genesis/lib/classes/SEO/Open_Graph.php
Lines:
1 to 6 of 6
protected function get_genesis_image() { $genesis_image = genesis_get_image( [ 'format' => 'url' ] ); return $this->get_image_info( attachment_url_to_postid( $genesis_image ) ); }