new-template.php 0000666 00000007217 15214144166 0007676 0 ustar 00 documents->get_document_types();
$types = [];
$selected = get_query_var( 'elementor_library_type' );
foreach ( $document_types as $document_type ) {
if ( $document_type::get_property( 'show_in_library' ) ) {
/**
* @var Document $instance
*/
$instance = new $document_type();
$types[ $instance->get_name() ] = $document_type::get_title();
}
}
/**
* Create new template library dialog types.
*
* Filters the dialog types when printing new template dialog.
*
* @since 2.0.0
*
* @param array $types Types data.
* @param Document $document_types Document types.
*/
$types = apply_filters( 'elementor/template-library/create_new_dialog_types', $types, $document_types );
?>
beta-tester.php 0000666 00000003577 15214144166 0007520 0 ustar 00 common->get_component( 'ajax' );
$beta_tester_email = $user->user_email;
/**
* Print beta tester dialog.
*
* Display a dialog box to suggest the user to opt-in to the beta testers newsletter.
*
* Fired by `admin_footer` filter.
*
* @since 2.6.0
* @access public
*/
?>