Make WordPress Core


Ignore:
Timestamp:
07/04/2005 09:53:26 PM (20 years ago)
Author:
ryan
Message:

register_activation_hook() and register_deactivation_hook(). Let's try these on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r2695 r2697  
    10731073}
    10741074
    1075 function plugin_basename($file) {
    1076     return preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $file);
    1077 }
    1078 
    10791075function add_menu_page($page_title, $menu_title, $access_level, $file, $function = '') {
    10801076    global $menu, $admin_page_hooks;
Note: See TracChangeset for help on using the changeset viewer.