You appear to be a bot. Output may be restricted
Description
Compare the post_meta data for the two posts
Usage
OIK_Clone_Compare_List_Table::compare_post_meta();
Parameters
Returns
voidSource
File name: oik-clone/admin/class-oik-clone-compare-list-table.phpLines:
1 to 19 of 19
function compare_post_meta() { //$this->compare( "post_meta" ); //$this->compone(); $source_post_meta = $this->source->post_meta; $target_post_meta = $this->target->post_meta; //ksort( $source_post_meta ); //ksort( $target_post_meta ); //$sv = print_r( $source_post_meta, true ); //$tv = print_r( $target_post_meta, true ); bw_tablerow( array( __( "<b>post_meta</b>", 'oik-clone' ) ) ); $matched = $this->assoc_array_match( $source_post_meta, $target_post_meta ); foreach ( $matched as $key => $data ) { $data0 = $this->flatten_values( $data[0] ); $data1 = $this->flatten_values( $data[1] ); $result = $this->result( $data0, $data1 ); bw_tablerow( array( $key, $data0, $result, $data1 ) ); } }View on GitHub