本文整理汇总了PHP中unregister_hook函数的典型用法代码示例。如果您正苦于以下问题:PHP unregister_hook函数的具体用法?PHP unregister_hook怎么用?PHP unregister_hook使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了unregister_hook函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: js_upload_unload
function js_upload_unload()
{
unregister_hook('photo_upload_form', 'addon/js_upload/js_upload.php', 'js_upload_form');
unregister_hook('photo_upload_begin', 'addon/js_upload/js_upload.php', 'js_upload_post_init');
unregister_hook('photo_upload_file', 'addon/js_upload/js_upload.php', 'js_upload_post_file');
unregister_hook('photo_upload_end', 'addon/js_upload/js_upload.php', 'js_upload_post_end');
}
示例2: tour_unload
function tour_unload()
{
unregister_hook('page_header', 'addon/tour/tour.php', 'tour_alterheader');
unregister_hook('page_end', 'addon/tour/tour.php', 'tour_addfooter');
unregister_hook('register_account', 'addon/tour/tour.php', 'tour_register');
unregister_hook('create_identity', 'addon/tour/tour.php', 'tour_register');
}
示例3: securemail_uninstall
function securemail_uninstall()
{
unregister_hook('plugin_settings', 'addon/securemail/securemail.php', 'securemail_settings');
unregister_hook('plugin_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
unregister_hook('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
logger("removed securemail");
}
示例4: testdrive_uninstall
function testdrive_uninstall()
{
unregister_hook('register_account', 'addon/testdrive/testdrive.php', 'testdrive_register_account');
unregister_hook('cron', 'addon/testdrive/testdrive.php', 'testdrive_cron');
unregister_hook('enotify', 'addon/testdrive/testdrive.php', 'testdrive_enotify');
unregister_hook('globaldir_update', 'addon/testdrive/testdrive.php', 'testdrive_globaldir_update');
}
示例5: map_unload
function map_unload()
{
unregister_hook('load_pdl', 'addon/map/map.php', 'map_load_pdl');
unregister_hook('feature_settings', 'addon/map/map.php', 'map_settings');
unregister_hook('feature_settings_post', 'addon/map/map.php', 'map_settings_post');
logger("Removed Location Services");
}
示例6: privacy_image_cache_uninstall
function privacy_image_cache_uninstall()
{
unregister_hook('bbcode', 'addon/privacy_image_cache/privacy_image_cache.php', 'privacy_image_cache_bbcode_hook');
unregister_hook('display_item', 'addon/privacy_image_cache/privacy_image_cache.php', 'privacy_image_cache_display_item_hook');
unregister_hook('ping_xmlize', 'addon/privacy_image_cache/privacy_image_cache.php', 'privacy_image_cache_ping_xmlize_hook');
unregister_hook('cron', 'addon/privacy_image_cache/privacy_image_cache.php', 'privacy_image_cache_cron');
}
示例7: xmpp_uninstall
function xmpp_uninstall()
{
unregister_hook('plugin_settings', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings');
unregister_hook('plugin_settings_post', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings_post');
unregister_hook('page_end', 'addon/xmpp/xmpp.php', 'xmpp_script');
unregister_hook('logged_in', 'addon/xmpp/xmpp.php', 'xmpp_login');
}
示例8: keepout_unload
function keepout_unload()
{
foreach (keepout_urls() as $x) {
unregister_hook($x . '_mod_init', 'addon/keepout/keepout.php', 'keepout_mod_init');
unregister_hook($x . '_mod_content', 'addon/keepout/keepout.php', 'keepout_mod_content');
}
}
示例9: uhremotestorage_uninstall
function uhremotestorage_uninstall()
{
unregister_hook('personal_xrd', 'addon/uhremotestorage/uhremotestorage.php', 'uhremotestorage_personal_xrd');
unregister_hook('plugin_settings', 'addon/uhremotestorage/uhremotestorage.php', 'uhremotestorage_settings');
unregister_hook('plugin_settings_post', 'addon/uhremotestorage/uhremotestorage.php', 'uhremotestorage_settings_post');
logger("removed uhremotestorage");
}
示例10: pubsubhubbub_unload
function pubsubhubbub_unload()
{
unregister_hook('notifier_process', 'addon/pubsubhubbub/pubsubhubbub.php', 'push_notifier_process');
unregister_hook('queue_deliver', 'addon/pubsubhubbub/pubsubhubbub.php', 'push_queue_deliver');
unregister_hook('atom_feed', 'addon/pubsubhubbub/pubsubhubbub.php', 'push_atom_feed');
unregister_hook('module_loaded', 'addon/pubsubhubbub/pubsubhubbub.php', 'push_module_loaded');
}
示例11: forumlist_uninstall
function forumlist_uninstall()
{
unregister_hook('network_mod_init', 'addon/forumlist/forumlist.php', 'forumlist_network_mod_init');
unregister_hook('plugin_settings', 'addon/forumlist/forumlist.php', 'forumlist_plugin_settings');
unregister_hook('plugin_settings_post', 'addon/forumlist/forumlist.php', 'forumlist_plugin_settings_post');
unregister_hook('profile_advanced', 'addon/forumlist/forumlist.php', 'forumlist_profile_advanced');
}
示例12: nofed_unload
function nofed_unload()
{
unregister_hook('feature_settings', 'addon/nofed/nofed.php', 'nofed_settings');
unregister_hook('feature_settings_post', 'addon/nofed/nofed.php', 'nofed_settings_post');
unregister_hook('post_local', 'addon/nofed/nofed.php', 'nofed_post_local');
unregister_hook('jot_networks', 'addon/nofed/nofed.php', 'nofed_jot_nets');
}
示例13: public_server_uninstall
function public_server_uninstall()
{
unregister_hook('register_account', 'addon/public_server/public_server.php', 'public_server_register_account');
unregister_hook('cron', 'addon/public_server/public_server.php', 'public_server_cron');
unregister_hook('enotify', 'addon/public_server/public_server.php', 'public_server_enotify');
unregister_hook('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
}
示例14: fromapp_uninstall
function fromapp_uninstall()
{
unregister_hook('post_local', 'addon/fromapp/fromapp.php', 'fromapp_post_hook');
unregister_hook('plugin_settings', 'addon/fromapp/fromapp.php', 'fromapp_settings');
unregister_hook('plugin_settings_post', 'addon/fromapp/fromapp.php', 'fromapp_settings_post');
logger("removed fromapp");
}
示例15: dav_uninstall
function dav_uninstall()
{
unregister_hook('event_created', 'addon/dav/dav.php', 'dav_event_created_hook');
unregister_hook('event_updated', 'addon/dav/dav.php', 'dav_event_updated_hook');
unregister_hook('profile_tabs', 'addon/dav/dav.php', 'dav_profile_tabs_hook');
unregister_hook('cron', 'addon/dav/dav.php', 'dav_cron');
}