settings_factory = $settings_factory; $this->unlock_button_ui = $unlock_button_ui; } /** * @return string */ public function render() { $custom_fields_keys = $this->get_meta_keys(); if ( $custom_fields_keys ) { natcasesort( $custom_fields_keys ); } $custom_field_options = array( WPML_IGNORE_CUSTOM_FIELD => __( "Don't translate", 'wpml-translation-management' ), WPML_COPY_CUSTOM_FIELD => __( 'Copy from original to translation', 'wpml-translation-management' ), WPML_COPY_ONCE_CUSTOM_FIELD => __( 'Copy once', 'wpml-translation-management' ), WPML_TRANSLATE_CUSTOM_FIELD => __( 'Translate', 'wpml-translation-management' ) ); ob_start(); ?>

get_title() ) ?>

add_query_arg( array( 'show_system_fields' => ! $this->settings_factory->show_system_fields ) ), 'text' => $this->settings_factory->show_system_fields ? __( 'Hide system fields', 'wpml-translation-management' ) : __( 'Show system fields', 'wpml-translation-management' ), ); ?>

kind_shorthand() . '_translation_nonce', '_icl_nonce' ); ?>

get_no_data_message() ); ?>

render_heading() ?>
get_setting( $cf_key ); if ( $setting->excluded() ) { continue; } $status = $setting->status(); $html_disabled = $setting->is_read_only() && ! $setting->is_unlocked() ? 'disabled="disabled"' : ''; ?>
unlock_button_ui->render( $setting->is_read_only(), $setting->is_unlocked(), $this->get_radio_name( $cf_key ), $this->get_unlock_name( $cf_key ) ); echo esc_html( $cf_key ); ?>
$title ) { ?>
render_radio( $cf_key, $html_disabled, $status, $ref_status ) ?>

checked />
get_column_header( 'name' ) ) ?>