You appear to be a bot. Output may be restricted
Description
Validate and perform the requested action(s)
Usage
oik_clone_lazy_perform_actions();
Parameters
Returns
void
TO DO
confirm the reason for do_action "oik_clone_perform_$action"
Source
File name: oik-clone/admin/oik-clone-actions.php
Lines:
1 to 23 of 23
function oik_clone_lazy_perform_actions() { $action = oik_clone_action(); $source = bw_array_get( $_REQUEST, "source", null ); $target = bw_array_get( $_REQUEST, "target", null ); $action = oik_clone_validate_action( $action, $source, $target ); if ( $action ) { p( "Performing $action for source $source target $target" ); $action_func = "oik_clone_perform_$action"; if ( is_callable( $action_func ) ) { $action_func( $source, $target ); } else { p( " $action_func not defined " ); } // Shall we call do_action or what? do_action( "oik_clone_perform_$action", $source, $target ); } else { p( "Invalid request." ); } }