Function __global->is_valid_opengraph_image

Definitions

sources/global3.php

  • Find if an image is an Open Graph image.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url URLPATH No No required parameter N/A N/A The URL

Returns

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if an image is an Open Graph image.
 *
 * @param  URLPATH $url The URL
 * @return boolean Whether it is
 */

function is_valid_opengraph_image(string $url) : bool