Lines:
1 to 42 of 42
<?php // (C) Copyright Bobbing Wide 2012 if ( function_exists( "oik_plugin_lazy_activation" ) ) { // It's already defined so we don't need this lot } else { /* function oik_plugin_install_plugin() – Produce an install plugin link */ /* function oik_plugin_activate_plugin() – Produce an "activate" plugin link */ /* function oik_plugin_update_plugin() – $path = "update.php?action=install-plugin&plugin=$plugin"; $url = admin_url( $path ); $url = wp_nonce_url( $url, "install-plugin_oik" ); $link = ‘<a href="’; $link .= $url; $link .= ‘">Install oik</a>’; */ /* function oik_plugin_check_installed_plugin() – Find out if we think the plugin is installed but not activated or not even installed */ /* function oik_plugin_is_plugin_activated() – This won’t work for Multisite since it doesn’t find the network activated plugins Even if it did, the admin may not be able to do anything. */ /* function oik_plugin_oik_install_link() – oik_plugin_oik_install_link */ if ( !function_exists( "oik_plugin_plugin_inactive" ) ) { /* function oik_plugin_plugin_inactive() – Display a message when setup is not fully functional due to the dependencies not being activated or installed Note: We can’t use oik APIs here as we don’t know if it’s activated. */ } /* function oik_plugin_lazy_activation() – Test if this plugin is functional */ } // end elseView on GitHub
Called by
Invoked by
Calls
Call hooks
API Letters: