• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Jetpack::check_rest_api_compat() – Check if Jetpack’s REST API compat file should be included

You appear to be a bot. Output may be restricted

Description

Check if Jetpack's REST API compat file should be included

Usage

$null = Jetpack::check_rest_api_compat();

Parameters

Returns

null

Source

File name: jetpack/class.jetpack.php
Lines:

1 to 14 of 14
  public function check_rest_api_compat() {
    
/**
 * Filters the list of REST API compat files to be included.
 *
 * @since 2.2.5
 *
 * @param array $args Array of REST API compat files to include.
 */
    $_jetpack_rest_api_compat_includes = apply_filters( 'jetpack_rest_api_compat', array() );

    foreach ( $_jetpack_rest_api_compat_includes as $_jetpack_rest_api_compat_include ) {
      require_once $_jetpack_rest_api_compat_include;
    }
  }
 

 View on GitHub View on Trac

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

Published: 27 November 2019 | Last updated: 6 May 2020

Primary Sidebar

Information

Function name: Jetpack::check_rest_api_compat
Class ref: Jetpack
Plugin ref: Jetpack
Version: 9.2
Sourcefile: class.jetpack.php
File ref: class.jetpack.php
Deprecated?: No
API Letters: A,C,J,R

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 5.6
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:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2021. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites