get_original_title example

public function value() {
        if ( $this->is_previewed && get_current_blog_id() === $this->_previewed_blog_id ) {
            $undefined  = new stdClass(); // Symbol.             $post_value = $this->post_value( $undefined );

            if ( $undefined === $post_value ) {
                $value = $this->_original_value;
            } else {
                $value = $post_value;
            }
            if ( ! empty( $value ) && empty( $value['original_title'] ) ) {
                $value['original_title'] = $this->get_original_title( (object) $value );
            }
        } elseif ( isset( $this->value ) ) {
            $value = $this->value;
        } else {
            $value = false;

            // Note that an ID of less than one indicates a nav_menu not yet inserted.             if ( $this->post_id > 0 ) {
                $post = get_post( $this->post_id );
                if ( $post && self::POST_TYPE === $post->post_type ) {
                    $is_title_empty = empty( $post->post_title );
                    
Home | Imprint | This part of the site doesn't use cookies.