• 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 / Abstract_Jetpack_Site::is_a8c_publication() – For Jetpack sites this will always return false.

You appear to be a bot. Output may be restricted

Description

For Jetpack sites this will always return false.

This is extended for WordPress.com sites in wpcom/public.api/rest/sal/trait.json-api-site-wpcom.php.

Usage

$bool = Abstract_Jetpack_Site::is_a8c_publication( $post_id );

Parameters

$post_id
( int ) required – The post id.

Returns

bool

Source

File name: jetpack/sal/class.json-api-site-jetpack-base.php


Lines:

1 to 4 of 4
  protected function is_a8c_publication( $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Extended and used in WordPress.com.
    return false;
  }
 

 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: 17 June 2022

Primary Sidebar

Information

Function name: Abstract_Jetpack_Site::is_a8c_publication
Class ref: Abstract_Jetpack_Site
Plugin ref: Jetpack
Version: 11.0
Sourcefile: sal/class.json-api-site-jetpack-base.php
File ref: sal/class.json-api-site-jetpack-base.php
Deprecated?: No
API Letters: A,I,J,S

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 6.0
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-2022. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites