You appear to be a bot. Output may be restricted
Description
Return a link to invoke the action if supported
Usage
OIK_settings::link( $action, $key );
Parameters
- $action
- ( mixed ) required –
- $key
- ( mixed ) required –
Returns
voidSource
File name: oik-rwd/admin/oik-settings.phpLines:
1 to 19 of 19
function link( $action, $key ) { static $nbsp = null; $link = null; $action_obj = $this->get_action( $action ); if ( $action_obj ) { $url = "admin.php?page="; $url .= $this->page; $url .= "&$action_"; $url .= $this->option; $url .= '"'; $url .= $key; $link .= $nbsp; $action_label = $action_obj->action_label; $link .= retlink( null, admin_url( $url ), $action_label ); } $nbsp = " "; return( $link ); }View on GitHub