You appear to be a bot. Output may be restricted
Description
Apply post_parent mapping
Usage
OIK_clone_mapping::apply_post_parent_mapping( $post );
Parameters
- $post
- ( mixed ) required –
Returns
void
Source
File name: oik-clone/admin/class-oik-clone-mapping.php
Lines:
1 to 9 of 9
function apply_post_parent_mapping( $post ) { $mapped = 0; $parent = $post->post_parent; if ( $parent ) { $mapped = $this->get_mapping( $parent ); } $post->post_parent = $mapped; bw_trace2( $post, "post mapped", false, BW_TRACE_DEBUG ); }