You appear to be a bot. Output may be restricted
Description
Create an "Import new" or "Add new" link for the selected postWhen the user chooses this link a new post is created. We have to decide how we'll decide the post type for it.
Usage
oik_clone_add_new_link( $post );
Parameters
- $post
- ( mixed ) required –
Returns
voidSource
File name: oik-clone/admin/oik-clone-self.phpLines:
1 to 6 of 6
function oik_clone_add_new_link( $post ) { gobang(); $ID = $post['ID']; $links = retlink( null, admin_url("admin.php?page=oik_clone&action=import&source=$ID&tab=self"), "Import new" ); return( $links ); }View on GitHub