setting_factory = &$settings_factory; $this->post = $post; } /** * @return string */ public function render() { $custom_keys = get_post_custom_keys( $this->post->ID ); $custom_keys = $this->setting_factory->filter_custom_field_keys( $custom_keys ); ob_start(); if ( 0 !== count( $custom_keys ) ) { ?> setting_factory->post_meta_setting( $cfield ); if ( $field_setting->excluded() ) { continue; } $this->rendered = true; $radio_disabled = ( $field_setting->is_read_only() && ! $field_setting->is_unlocked() ) ? 'disabled="disabled"' : ''; $status = (int) $field_setting->status(); $states = array( array( 'value' => WPML_IGNORE_CUSTOM_FIELD, 'text' => __( "Don't translate", 'sitepress' ) ), array( 'value' => WPML_COPY_CUSTOM_FIELD, 'text' => __( "Copy", 'sitepress' ) ), array( 'value' => WPML_COPY_ONCE_CUSTOM_FIELD, 'text' => __( "Copy once", 'sitepress' ) ), array( 'value' => WPML_TRANSLATE_CUSTOM_FIELD, 'text' => __( "Translate", 'sitepress' ) ), ); ?>
 

rendered; } }