Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Converting core modification to a plugin

I haven’t done this kind of a hook yet but I did find this page in the wordpress codex

https://codex.wordpress.org/Function_Reference/wpmu_welcome_user_notification

They do explain a bit their about how you can modify the content of the activation and notifcation emails

I will try to explain a bit here
In WordPress an Action is a type of hook. You get Action Hooks and Filter Hooks

Actions are triggered by specific events that happen in WordPress like when a post is published you can trigger a custom action. Linked to a function that handles what you need it to do. An idea here is say for instance you would like to update a third party database when a specific post is updated you could link that to an action. Actions are hooks to WordPress using add_action()

Filters are functions defined for WordPress to run data through as it is displayed. So say for instance you would like to change some text on a post without affecting the database you would use a filter. That way when you change the filter you don’t have to edit the actual database values of the posts. Filters are hooked into wordpress using add_filter()

For more information I think have a read at this page
https://codex.wordpress.org/Plugin_API
which explains more in details about Hooks.

Related Posts:

  1. Objective Best Practices for Plugin Development? [closed]
  2. How do i best handle custom plugin page actions?
  3. How to create an API for my plugin?
  4. Plugins in symlinked directories?
  5. In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
  6. Plugin Form Submission Best Practice
  7. Best way to abort plugin in case of insufficient PHP version?
  8. What do you think about custom designed plugin/theme options UIs?
  9. No Error Log File, no debug info
  10. Where to put third party PHP library?
  11. Is the new WordPress 3.1 admin bar pluggable and how can I extend it?
  12. How to use PanelColorSettings in custom Gutenberg block?
  13. Getting a peer review for my new plugin?
  14. Optimize shortcode callbacks
  15. How to integrate a PHP webmail script into the backend of WordPress?
  16. Using filters and actions for plugin API?
  17. Is There A Hook To Process The Content Of The Text Widget?
  18. How to Change the Entire WordPress Admin panel Look and Feel?
  19. How to log plugin errors to plugin error_log file
  20. Which to use to execute code during the saving of a plugin settings page?
  21. Custom theme sufficient or custom plugin neccessary for this feature set?
  22. When to check if a function exists
  23. How to create custom home page via plugin?
  24. Adding callback function for wp_ajax_ has no effect
  25. Sessions not creating correctly in custom function
  26. Featured Image not showing in admin
  27. How to use wp_set_password in a plugin?
  28. How Can I setup WP CLI on Windows development machine running AMPPS?
  29. WP_LOCALIZE_SCRIPT doesn’t work
  30. Nuance in adding CPT and TAX to a submenu
  31. Can I differentiate between “Delete Post Permanently” and “Empty Trash” and do something for each accordingly?
  32. Are we allowed to use the Allman (BSD) indent style when coding WordPress plugins and themes?
  33. Get the password key when using the wp_new_user_notification_email filter
  34. Customizer: widget-synced triggers twice
  35. WordPress not working on localhost
  36. Adding functions to hooks from within a class
  37. Disable The Events Calendar plugin from loading its scripts
  38. Applying OO patterns and principles to plugin development
  39. WordPress is automatically linking plain text email addresses
  40. Is Using WordPress Supplied WYSIWYG Advisable?
  41. Is it possible to change a term slug before being saved to the database?
  42. Maximum lifetime for nonce
  43. Add code inside specific wordpress standard function
  44. Custom Taxonomy to dropdown box on adminside wordpress
  45. Create a free scripts and styles template within a plugin
  46. How to modify the comments to be displayed in a post?
  47. How can I turn a custom wordpress page into a product page?
  48. How can we display product price $104 on the cart while the credit card payment method is checked?
  49. Incorporate small angular feature in my wordpress site
  50. How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]
  51. Search: how to extend the existing search to include a custom table
  52. Is there documentation reference for forms in menu and setting pages?
  53. How to modify files inside wp-includes directory in wordpress
  54. How to set a cookie for logged in users to md5($user->ID . “my_secret”)?
  55. Loading Modernizr (or other JavaScript libraries) for use in a plugin
  56. Show message from backend
  57. Create Widget or Enable Shortcodes in Sidebar
  58. Logout after clicking URL link results in “headers already sent” error
  59. how to save wp_editor html content in options table
  60. How to use a WP_Customize_Control outside of the Customizer?
  61. Setting a post’s category
  62. Extract Information from post content (using regex?)
  63. How to determine which capability to use?
  64. Serial Number from custom table not appear in woocommerce_email_before_order_table action
  65. Customise Grouped Product display in Woocommerce with custom column
  66. Custom Endpoint – Does it possible to use PUT method with WP API Rest?
  67. Why won’t this submenu page show? – My First WordPress Plugin
  68. Metabox types list
  69. Where to save Gutenberg plugin data?
  70. WordPress how do I echo SUM from a column of a MySQL table by user id AND type_operation
  71. Rate limiting ajax requests in WordPress
  72. Does hooking into a plugin action / filter override the plugin’s function for that hook?
  73. How to prevent users from deleting their accounts?
  74. Hiding class namespace from plugin’s extensions
  75. Set widget icon in Customizer?
  76. Determine if the current page, is being edited
  77. WordPress delete mysql rows with string
  78. Add function to Dokan ajax class
  79. PHP includes with AJAX actions
  80. Making adding info to an overlay bio easy for average user?
  81. Custom Post Type and Functions
  82. Associating special meaning with user id 0
  83. Managing Custom Designed Content
  84. Theming Custom Plugin Page
  85. Best practice: What belongs in theme and what in plugin for large eCommerce website
  86. Link to a admin submenu item using a custom link
  87. Adding class to the parent of current-post-ancestor / current-menu-parent / current-post-parent
  88. Dynamic banner for use on external sites
  89. Adding Meta box to thrid-party plugin
  90. How do I store a custom dataset in WordPress to best take advantage of API?
  91. Client Profiles
  92. Developing Themes on WordPress, Looking for Excellent Tutorials [closed]
  93. How to Implement SAM Broadcaster with WordPress? [closed]
  94. Is Explicit Versioning a better alternative to Semantic Versioning for wordpress?
  95. Custom plugin not appearing
  96. Is there any other ways to replicating changes on live from staging without pushing from git
  97. Can I log the searches that are returning 404 in the DB?
  98. Developing an IP lookup function using an API
  99. Add File field in WooCommerce Box office plugin
  100. Custom Gutenberg Block ‘Stylized List’ – Incorrect Rendering and Looping of List Items
Categories plugin-development Tags customization, plugin-development, wp-signup
How to display the content only to the allowed IP address [closed]
How to retrieve certain number of images from a wordpress post?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress