• 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 / Hooks / wpcom_json_api_user_can_view_post – filter

Filter access to a specific post. 

Parameters

.
( json-api ) . .
.
( 3.4.0 ) . .
current_user_can(
( bool ) ‘read_post’, $post->ID ) Can the current user access the post. . . .
$post
( WP_Post ) Post data. . . .
Hook name: wpcom_json_api_user_can_view_post
Hook type: filter
Plugin ref: Jetpack
Sourcefile:
File ref: SAL_Site::user_can_view_post() – Filter the post types Jetpack has access to, and can synchronize with WordPress.com.
Description: Filter access to a specific post. 
Parameters:
Deprecated?: No
API Letters: A,C,J,U,W

Invokers

1 to 2 of 2
  • SAL_Site::user_can_view_post() – Filter the post types Jetpack has access to, and can synchronize with WordPress.com.
  • WPCOM_JSON_API_Endpoint::user_can_view_post() –

Implementers

    Related

    Published: 27 November 2019 | Last updated: 27 November 2019

    Primary Sidebar

    Information

    Hook name: wpcom_json_api_user_can_view_post
    Hook type: filter
    Plugin ref: Jetpack
    Sourcefile:
    File ref: SAL_Site::user_can_view_post() – Filter the post types Jetpack has access to, and can synchronize with WordPress.com.
    Description: Filter access to a specific post. 
    Parameters:
    Deprecated?: No
    API Letters: A,C,J,U,W

    Footer

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


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

    • Home
    • Blog
    • Sitemap
    • Sites