Code Reference

  • Home
  • Docs
  • Code reference
  • Knowledge base
  • Blog
Skip to content
Filter by type:
Search
Browse: Home / mortgage-rates-widget/inc/MortgageRates_API.php

MortgageRates_API

Class: Class MortgageRates_API.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:20

Used by 0 functions | Uses 0 functions

MortgageRates_API::__construct()

Method: API constructor.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:28

Used by 0 functions | Uses 0 functions

MortgageRates_API::api()

Method: Endpoint API.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:43

Used by 0 functions | Uses 0 functions

MortgageRates_API::permission()

Method: Check permissions for the posts.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:67

Used by 0 functions | Uses 0 functions

MortgageRates_API::authorization_status_code()

Method: Sets up the proper HTTP status code for authorization.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:84

Used by 0 functions | Uses 0 functions

MortgageRates_API::get_rates()

Method: Grabs the five most recent posts and outputs them as a rest response.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:103

Used by 0 functions | Uses 0 functions

MortgageRates_API::register_api_post_type()

Method: Register API post type.

Source: mortgage-rates-widget/inc/MortgageRates_API.php:135

Used by 0 functions | Uses 0 functions