Home / Files / includes/api/legacy/v2/class-wc-api-resource.php


Lines: 1 to 20 of 20

<?php

if ( ! defined( 'ABSPATH' ) ) {
  exit; // Exit if accessed directly
}

/* class WC_API_Resource */
/* function WC_API_Resource::__construct() – Setup class */
/* function WC_API_Resource::validate_request() – Validate the request by checking: */
/* function WC_API_Resource::merge_query_args() – Add common request arguments to argument list before WP_Query is run */
/* function WC_API_Resource::maybe_add_meta() – Add meta to resources when requested by the client. Meta is added as a top-level
`<resource_name>_meta` attribute (e.g. `order_meta`) as a list of key/value pairs */
/* function WC_API_Resource::filter_response_fields() – Restrict the fields included in the response if the request specified certain only certain fields should be returned */
/* function WC_API_Resource::delete() – Delete a given resource */
/* function WC_API_Resource::is_readable() – Checks if the given post is readable by the current user */
/* function WC_API_Resource::is_editable() – Checks if the given post is editable by the current user */
/* function WC_API_Resource::is_deletable() – Checks if the given post is deletable by the current user */
/* function WC_API_Resource::check_permission() – Checks the permissions for the current user given a post and context */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/api/legacy/v2/class-wc-api-resource.php
      Plugin ref: WooCommerce
      Version: 3.6.0-dev
      Deprecated?: No
      API Letters: A,C,I,L,V

      Published: 14th March 2017 | Last updated: 6th August 2017

      Information

      File name: includes/api/legacy/v2/class-wc-api-resource.php
      Plugin ref: WooCommerce
      Version: 3.6.0-dev
      Deprecated?: No
      API Letters: A,C,I,L,V

      includes/api/legacy/v2
      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Sites
      • Sitemap
      • Blog
      WooCommerce a2z WooCommerce a2z
      WooCommerce

      Site:  woocommerce.wp-a2z.org
      © Copyright WooCommerce a2z 2014-2019. All rights reserved.


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