• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP unregister_hook函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中unregister_hook函数的典型用法代码示例。如果您正苦于以下问题:PHP unregister_hook函数的具体用法?PHP unregister_hook怎么用?PHP unregister_hook使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了unregister_hook函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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');
}
开发者ID:HaakonME,项目名称:hubzilla-addons,代码行数:7,代码来源:js_upload.php


示例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');
}
开发者ID:phellmes,项目名称:hubzilla-addons,代码行数:7,代码来源:tour.php


示例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");
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:securemail.php


示例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');
}
开发者ID:swathe,项目名称:friendica-addons,代码行数:7,代码来源:testdrive.php


示例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");
}
开发者ID:anaqreon,项目名称:ownmapp,代码行数:7,代码来源:map.php


示例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');
}
开发者ID:robhell,项目名称:friendica-addons,代码行数:7,代码来源:privacy_image_cache.php


示例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');
}
开发者ID:rabuzarus,项目名称:friendica-addons,代码行数:7,代码来源:xmpp.php


示例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');
    }
}
开发者ID:phellmes,项目名称:hubzilla-addons,代码行数:7,代码来源:keepout.php


示例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");
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:uhremotestorage.php


示例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');
}
开发者ID:phellmes,项目名称:hubzilla-addons,代码行数:7,代码来源:pubsubhubbub.php


示例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');
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:forumlist.php


示例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');
}
开发者ID:royalterra,项目名称:hubzilla-addons,代码行数:7,代码来源:nofed.php


示例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');
}
开发者ID:robhell,项目名称:friendica-addons,代码行数:7,代码来源:public_server.php


示例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");
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:fromapp.php


示例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');
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:main.php


示例16: gnot_uninstall

function gnot_uninstall()
{
    unregister_hook('plugin_settings', 'addon/gnot/gnot.php', 'gnot_settings');
    unregister_hook('plugin_settings_post', 'addon/gnot/gnot.php', 'gnot_settings_post');
    unregister_hook('enotify_mail', 'addon/gnot/gnot.php', 'gnot_enotify_mail');
    logger("removed gnot");
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:7,代码来源:gnot.php


示例17: convpath_uninstall

function convpath_uninstall()
{
    unregister_hook('page_end', 'addon/convpath/convpath.php', 'convpath_page_end');
    unregister_hook('page_header', 'addon/convpath/convpath.php', 'convpath_page_header');
    unregister_hook('ping_xmlize', 'addon/convpath/convpath.php', 'convpath_ping_xmlize_hook');
    unregister_hook('prepare_body', 'addon/convpath/convpath.php', 'convpath_prepare_body_hook');
    unregister_hook('display_item', 'addon/convpath/convpath.php', 'convpath_display_item_hook');
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:8,代码来源:convpath.php


示例18: pageheader_unload

function pageheader_unload()
{
    unregister_hook('page_content_top', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
    unregister_hook('feature_settings', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings');
    unregister_hook('feature_settings_post', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings_post');
    // hook moved, uninstall the old one if still there.
    unregister_hook('page_header', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
}
开发者ID:git-marijus,项目名称:hubzilla-addons,代码行数:8,代码来源:pageheader.php


示例19: libertree_uninstall

function libertree_uninstall()
{
    unregister_hook('post_local', 'addon/libertree/libertree.php', 'libertree_post_local');
    unregister_hook('notifier_normal', 'addon/libertree/libertree.php', 'libertree_send');
    unregister_hook('jot_networks', 'addon/libertree/libertree.php', 'libertree_jot_nets');
    unregister_hook('connector_settings', 'addon/libertree/libertree.php', 'libertree_settings');
    unregister_hook('connector_settings_post', 'addon/libertree/libertree.php', 'libertree_settings_post');
}
开发者ID:robhell,项目名称:friendica-addons,代码行数:8,代码来源:libertree.php


示例20: tumblr_uninstall

function tumblr_uninstall()
{
    unregister_hook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
    unregister_hook('notifier_normal', 'addon/tumblr/tumblr.php', 'tumblr_send');
    unregister_hook('jot_networks', 'addon/tumblr/tumblr.php', 'tumblr_jot_nets');
    unregister_hook('connector_settings', 'addon/tumblr/tumblr.php', 'tumblr_settings');
    unregister_hook('connector_settings_post', 'addon/tumblr/tumblr.php', 'tumblr_settings_post');
}
开发者ID:robhell,项目名称:friendica-addons,代码行数:8,代码来源:tumblr.php



注:本文中的unregister_hook函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP unregister_setting函数代码示例发布时间:2022-05-23
下一篇:
PHP unregister_globals函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap