PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
woocommerce-admin
/
src
/
API
<?php /** * REST API Setting Options Controller * * Handles requests to /settings/{option} * * @package WooCommerce Admin/API */ namespace Automattic\WooCommerce\Admin\API; defined( 'ABSPATH' ) || exit; use \Automattic\WooCommerce\Admin\API\Reports\Cache as ReportsCache; /** * Setting Options controller. * * @package WooCommerce Admin/API * @extends WC_REST_Setting_Options_Controller */ class SettingOptions extends \WC_REST_Setting_Options_Controller { /** * Endpoint namespace. * * @var string */ protected $namespace = 'wc-analytics'; /** * Invalidates API cache when updating settings options. * * @param WP_REST_Request $request Full details about the request. * @return array Of WP_Error or WP_REST_Response. */ public function batch_items( $request ) { // Invalidate the API cache. ReportsCache::invalidate(); // Process the request. return parent::batch_items( $request ); } }
[+]
..
[-] OnboardingProfile.php
[edit]
[-] Customers.php
[edit]
[-] Themes.php
[edit]
[-] OnboardingPlugins.php
[edit]
[-] ProductReviews.php
[edit]
[-] Leaderboards.php
[edit]
[-] Options.php
[edit]
[-] ProductCategories.php
[edit]
[-] ProductVariations.php
[edit]
[-] NoteActions.php
[edit]
[-] Taxes.php
[edit]
[-] Products.php
[edit]
[-] OnboardingThemes.php
[edit]
[-] Notes.php
[edit]
[-] SettingOptions.php
[edit]
[+]
Reports
[-] Init.php
[edit]
[-] OnboardingTasks.php
[edit]
[-] Data.php
[edit]
[-] DataCountries.php
[edit]
[-] Orders.php
[edit]
[-] Coupons.php
[edit]
[-] DataDownloadIPs.php
[edit]