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