• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / genesis_open_graph_available() – Determines if Open Graph settings should be visible in the Customizer.

You appear to be a bot. Output may be restricted

Description

Determines if Open Graph settings should be visible in the Customizer.

Usage

$bool = genesis_open_graph_available();

Parameters

Returns

bool True if Genesis Open Graph options should be visible.

Source

File name: genesis/lib/functions/open-graph.php


Lines:

1 to 18 of 18
function genesis_open_graph_available() {
  
/**
 * Filter to disable Genesis Open Graph.
 *
 * ```php
 * add_filter( 'genesis_open_graph_enabled', '__return_false' );
 * ```
 *
 * @since 3.2.0
 *
 * @param bool $genesis_open_graph_enabled True if enabled, false otherwise.
 */
  return apply_filters( 'genesis_open_graph_enabled', true )
    && genesis_seo_active()
    && ! genesis_detect_open_graph_plugins();
}
 

Published: 25th November 2019 | Last updated: 25th November 2019

Primary Sidebar

Information

Function name: genesis_open_graph_available
Plugin ref: Genesis Framework
Version: 3.3.5
Sourcefile: lib/functions/open-graph.php
File ref: lib/functions/open-graph.php
Deprecated?: No
API Letters: A,G,O

Footer

Genesis a2z
Genesis Theme Framework a2z
WordPress Dynamic API Reference
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  genesis.wp-a2z.org
© Copyright Genesis a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites