MortgageRates_Websites
Class MortgageRates_Websites.
Contents
Description Description
See also See also
Source Source
File: mortgage-rates-widget/inc/MortgageRates_Websites.php
class MortgageRates_Websites extends MP_Websites{
/**
* MortgageRates_Websites constructor.
*
* @see 'MP_Websites::__construct()'
*
* @access public
* @since 1.0.0
*/
public function __construct() {
parent::__construct();
$this->website_post_type = 'mr_embedd_websites';
}
/**
* Register Website post type.
*
* @see 'MP_Websites::register()'
*
* @access public
* @since 1.0.0
* @return \WP_Error|\WP_Post_Type
*/
public function register() {
return $this->_register($this->website_post_type, 'mortgage_rates_widget');
}
}
Methods Methods
- __construct — MortgageRates_Websites constructor.
- register — Register Website post type.
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |