Current Path : /storage/v11800/lifespanstoresnew/public_html/wp-content/plugins/elementor/core/document-types/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/lifespanstoresnew/public_html/wp-content/plugins/elementor/core/document-types/post.php |
<?php
namespace Elementor\Core\DocumentTypes;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Post extends PageBase {
/**
* Get Properties
*
* Return the post document configuration properties.
*
* @access public
* @static
*
* @return array
*/
public static function get_properties() {
$properties = parent::get_properties();
$properties['support_kit'] = true;
$properties['cpt'] = [ 'post' ];
return $properties;
}
/**
* Get Type
*
* Return the post document type.
*
* @return string
*/
public static function get_type() {
return 'wp-post';
}
/**
* Get Title
*
* Return the post document title.
*
* @access public
* @static
*
* @return string
*/
public static function get_title() {
return esc_html__( 'Post', 'elementor' );
}
/**
* Get Plural Title
*
* Return the post document plural title.
*
* @access public
* @static
*
* @return string
*/
public static function get_plural_title() {
return esc_html__( 'Posts', 'elementor' );
}
}