Home / APIs / WP_REST_User_Meta_Fields::get_meta_type() – Retrieves the object meta type.

Description

Retrieves the object meta type.

Usage

$string = WP_REST_User_Meta_Fields::get_meta_type();

Parameters

Returns

string The user meta type.

Source

File name: wordpress/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
Lines: 1 to 3 of 3

  protected function get_meta_type() {
    return 'user';
  }
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      Function name: WP_REST_User_Meta_Fields::get_meta_type
      Class ref: WP_REST_User_Meta_Fields
      Plugin ref: WordPress
      Version: 4.9
      Sourcefile: wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
      File ref: wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
      Deprecated?: No
      API Letters: F,M,R,U,W

      Published: 12th March 2017 | Last updated: 12th March 2017

      Information

      Function name: WP_REST_User_Meta_Fields::get_meta_type
      Class ref: WP_REST_User_Meta_Fields
      Plugin ref: WordPress
      Version: 4.9
      Sourcefile: wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
      File ref: wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
      Deprecated?: No
      API Letters: F,M,R,U,W

      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Sites
      • Sitemap
      • Blog
      WooCommerce a2z WooCommerce a2z
      WooCommerce

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


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