• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / 4.7.2

WP_REST_Users_Controller::get_user()

Method: Get the user, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php:396

Used by 6 functions | Uses 5 functions

WP_REST_Revisions_Controller::get_revision()

Method: Get the revision, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:191

Used by 3 functions | Uses 3 functions

WP_REST_Revisions_Controller::get_parent()

Method: Get the parent post, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:140

Used by 4 functions | Uses 3 functions

WP_REST_Terms_Controller::get_term()

Method: Get the term, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php:335

Used by 7 functions | Uses 4 functions

WP_REST_Posts_Controller::get_post()

Method: Get the post, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:444

Used by 8 functions | Uses 3 functions

WP_REST_Comments_Controller::get_comment()

Method: Get the comment, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:338

Used by 6 functions | Uses 4 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry