You appear to be a bot. Output may be restricted
Description
Check the mapping passed from the client
Build an array of mapped posts to confirm the mapping that the client ( master ) passed For entries where the target post exists then the mapping remains as is For other entries we set the mapping to 0. Assumption is that get_posts() is more efficient than multiple get_post() calls We need to confirm this; get_posts() can faff around a hell of a lot with filters.
Usage
OIK_clone_mapping::check_mapping();
Parameters
Returns
void
TO DO
performance analysis
Source
File name: oik-clone/admin/class-oik-clone-mapping.php
Lines:
1 to 2 of 2
function check_mapping() { }