PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
notices
<?php class WPML_TM_Post_Edit_Notices_Factory { const TEMPLATES_PATH = '/templates/notices/post-edit/'; public function create() { /** * @var SitePress $sitepress * @var WPML_TM_Translation_Status_Display $wpml_tm_status_display_filter */ global $sitepress, $wpml_tm_status_display_filter; $status_helper = wpml_get_post_status_helper(); $paths = array( WPML_TM_PATH . self::TEMPLATES_PATH ); $template_service_loader = new WPML_Twig_Template_Loader( $paths ); $template_service = $template_service_loader->get_template(); $super_globals = new WPML_Super_Globals_Validation(); if ( ! $wpml_tm_status_display_filter ) { wpml_tm_load_status_display_filter(); } return new WPML_TM_Post_Edit_Notices( $status_helper, $sitepress, $template_service, $super_globals, $wpml_tm_status_display_filter, new WPML_Translation_Element_Factory( $sitepress, new WPML_WP_Cache() ), new WPML_TM_ATE(), new WPML_TM_Rest_Job_Translator_Name(), new WPML_TM_Rest_Jobs_Translation_Service( new WPML_WP_Cache() ) ); } }
[-] DismissNotices.php
[edit]
[-] AteLockNotice.php
[edit]
[+]
pages
[-] class-wpml-notice.php
[edit]
[+]
translation-service-instruction
[+]
translation-jobs-migration
[-] class-wpml-notices.php
[edit]
[-] wpml-tm-post-edit-notices.php
[edit]
[-] class-wpml-notice-render.php
[edit]
[-] wpml-tm-post-edit-notices-factory.php
[edit]
[+]
..
[-] class-wpml-notice-action.php
[edit]