dongxiong1941 2014-04-03 13:02
浏览 47
已采纳

用户在Wordpress中注册时的触发功能

It's possible to add a function to get the username and user email when users register on Wordpress and then in that function call a Webservice to register the same user in another system? I know exists hooks and some others but I'm newbie with Wordpress and I don't know how to get this done

  • 写回答

1条回答 默认 最新

  • dongyuqie4322 2014-04-03 13:11
    关注

    You can make WordPress do certain things through the functions.php file in the Theme or by creating a plugin for that purpose.

    More about WordPress Functions - https://codex.wordpress.org/Functions_File_Explained

    You can manipulate the user_register action hook to make it access another database and insert the details. http://codex.wordpress.org/Plugin_API/Action_Reference/user_register

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 对于这个问题的算法代码
  • ¥20 access多表提取相同字段数据并合并
  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源
  • ¥15 安卓JNI项目使用lua上的问题
  • ¥20 RL+GNN解决人员排班问题时梯度消失
  • ¥60 要数控稳压电源测试数据