PHP Class Elementor\TemplateLibrary\Source_Local

Inheritance: extends Source_Base
Show file Open project: pojome/elementor

Public Methods

Method Description
__construct ( )
admin_import_template_form ( )
block_template_frontend ( )
delete_template ( $item_id )
export_template ( $item_id )
get_content ( $item_id, $context = 'display' )
get_id ( )
get_item ( integer $item_id ) : array
get_items ( )
get_template_types ( )
get_title ( )
import_template ( )
post_row_actions ( $actions, WP_Post $post )
register_admin_menu ( )
register_data ( )
save_item ( $template_data )
update_item ( $new_data )

Private Methods

Method Description
_add_actions ( )
_get_export_link ( $item_id )
_is_base_templates_screen ( )

Method Details

__construct() public method

public __construct ( )

admin_import_template_form() public method

block_template_frontend() public method

delete_template() public method

public delete_template ( $item_id )

export_template() public method

public export_template ( $item_id )

get_content() public method

public get_content ( $item_id, $context = 'display' )

get_id() public method

public get_id ( )

get_item() public method

public get_item ( integer $item_id ) : array
$item_id integer
return array

get_items() public method

public get_items ( )

get_template_types() public static method

public static get_template_types ( )

get_title() public method

public get_title ( )

import_template() public method

public import_template ( )

post_row_actions() public method

public post_row_actions ( $actions, WP_Post $post )
$post WP_Post

register_admin_menu() public method

public register_admin_menu ( )

register_data() public method

public register_data ( )

save_item() public method

public save_item ( $template_data )

update_item() public method

public update_item ( $new_data )