PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
settings
<?php class WPML_Element_Sync_Settings_Factory { const POST = 'post'; const TAX = 'taxonomy'; const KEY_POST_SYNC_OPTION = 'custom_posts_sync_option'; const KEY_TAX_SYNC_OPTION = 'taxonomies_sync_option'; /** * @param string $type * * @return WPML_Element_Sync_Settings * @throws Exception */ public static function create( $type ) { /** @var SitePress $sitepress */ global $sitepress; if ( self::POST === $type ) { $settings = $sitepress->get_setting( self::KEY_POST_SYNC_OPTION, array() ); } elseif ( self::TAX === $type ) { $settings = $sitepress->get_setting( self::KEY_TAX_SYNC_OPTION, array() ); } else { throw new Exception( 'Unknown element type.' ); } return new WPML_Element_Sync_Settings( $settings ); } public static function createPost() { return self::create( self::POST ); } public static function createTax() { return self::create( self::TAX ); } }
[-] class-wpml-term-custom-field-setting-keys.php
[edit]
[-] class-wpml-custom-field-setting.php
[edit]
[-] Repository.php
[edit]
[-] ProcessNewTranslatableFields.php
[edit]
[-] class-wpml-verify-sitepress-settings.php
[edit]
[-] class-wpml-tm-settings-post-process.php
[edit]
[-] class-wpml-tm-serialized-custom-field-package-handler-factory.php
[edit]
[-] CustomFieldChangeDetector.php
[edit]
[-] class-wpml-custom-field-setting-query-factory.php
[edit]
[-] class-wpml-post-custom-field-setting.php
[edit]
[-] class-wpml-tm-serialized-custom-field-package-handler.php
[edit]
[-] wpml-tm-default-settings-factory.php
[edit]
[-] UI.php
[edit]
[-] class-wpml-element-sync-settings.php
[edit]
[-] class-wpml-element-sync-settings-factory.php
[edit]
[-] class-wpml-post-custom-field-setting-keys.php
[edit]
[-] class-wpml-custom-field-xml-settings-import.php
[edit]
[-] class-wpml-custom-field-setting-query.php
[edit]
[-] class-wpml-term-custom-field-setting.php
[edit]
[+]
..
[-] class-wpml-settings-filters.php
[edit]
[-] class-wpml-page-builder-settings.php
[edit]
[-] class-wpml-tm-settings-update.php
[edit]
[-] class-wpml-custom-field-setting-factory.php
[edit]
[-] wpml-tm-default-settings.php
[edit]