You appear to be a bot. Output may be restricted
Description
Return the target IDThe target may either be an ID or an array of 'id' and 'cloned' It depends on whether or not the source was cloned before we added the 'cloned' date
Usage
$integer = oik_clone_get_target_id();
Parameters
Returns
integer the ID of the target post we hope to updateSource
File name: oik-clone/admin/oik-clone-clone.phpLines:
1 to 9 of 9
function oik_clone_get_target_id() { $target = bw_array_get( $_REQUEST, "target", null ); if ( is_array( $target ) ) { $target_id = bw_array_get( $target, "id", null ); } else { $target_id = $target; } return( $target_id ); }View on GitHub