It depends entirely on the specific plugin and the specific hook. It’s completely up to plugin developers what they want to allow other developers to do. They could allow developers to replace entire functions; to perform a custom action at the beginning, middle, or end of a function; to modify the result of a function; or none of the above. It’s impossible to give a generic answer.
The only way to know what you can do is to consult the developer documentation for the plugin, which will tell you what you can do. If that doesn’t exist, reading the actual code of the plugin and looking for hooks is all you can do.
Related Posts:
- Using filters and actions for plugin API?
- When is it appropriate to put functions on page template vs. functions.php?
- When to check if a function exists
- Dynamically Override Fancy Title
- What function to hook for changes made in status and visibility of a post
- Can I differentiate between “Delete Post Permanently” and “Empty Trash” and do something for each accordingly?
- WordPress after content Hook & external template part
- get_current_screen() return null
- Maximum lifetime for nonce
- How to use a hook to override an update_post_meta call in a plugin?
- Adding option to Gallery shortcode
- correct way to call javascript into hook function
- How to modify files inside wp-includes directory in wordpress
- Call to undefined function is_home() or any conditional tags
- How to replace settings in WordPress plugin from a theme
- Customise Grouped Product display in Woocommerce with custom column
- Add function to Dokan ajax class
- Function not working on any file other than the main plugin file
- Template file structure , wordpress hook for altering the template
- Dynamic banner for use on external sites
- get_term_by() returning null on plugin
- Custom fields in the billing address section woocommerce
- In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
- Plugin Form Submission Best Practice
- Best way to abort plugin in case of insufficient PHP version?
- Where to put third party PHP library?
- Add a new tab to WordPress Plugin install Listing
- Optimize shortcode callbacks
- Changing Plugin Load Order
- How to integrate a PHP webmail script into the backend of WordPress?
- How should you hook a session_start() when authoring a plugin?
- Init action hook running late after PayPal’s return url?
- How to log plugin errors to plugin error_log file
- How Do I Load My Action Earlier Enough?
- Which to use to execute code during the saving of a plugin settings page?
- I can’t find where a hook is being defined in a plugin – Easy Digital Downloads
- Custom theme sufficient or custom plugin neccessary for this feature set?
- How do I handle multiple Submit buttons in plugin’s option page?
- How to create custom home page via plugin?
- Set default options for inserting media
- Adding callback function for wp_ajax_ has no effect
- Hook for post permalink update
- Featured Image not showing in admin
- How to change post status from publish to draft using hook in wordpress?
- Plugin development: is adding empty index.php files necessary?
- Create a plugin to change the action to which a function is hooked
- comment_email hook doesn’t seem to work for comment editor field
- Post thumbnail relative link and HTML modify
- How do I change the initial quantity of a product in woocommerce?
- Where and how does WordPress store and use its plugin and hook information?
- Widget update function not saving values
- Which are the hooks run before/after when a category’s deletion?
- edit_{$taxonomy} | Hook
- override pluggable.php functions
- Disable The Events Calendar plugin from loading its scripts
- creating custom function to log actions in plugin
- Where to add hooks in a class
- How to customize a permalink (URL) structure?
- Custom Taxonomy to dropdown box on adminside wordpress
- How to use output buffering in WordPress hooked functions?
- do_action and add_action on two different installed plugins won’t work
- Incorporate small angular feature in my wordpress site
- Modify custom field input data before creating a new post
- I have 2 plugins using the same wp_login action hook and one is not working
- Add a new confirmation page before saving
- WordPress class, using add_action to call member function does not work
- How dynamic action login_form_{action} is working
- How should I go about registering JavaScript that isn’t a file? [duplicate]
- What happens when two or more plugins use the same hook?
- Add child pages to submenu automatically
- Why in this archive page that call query_posts() function show only the last 10 posts?
- Add an Outside Wrapper to my Header and Make it Full Width
- Converting core modification to a plugin
- Ajax +wordpress onClick link redirect to new page and create html content
- Remove Permalink Meta Box not working?
- Setting post_id for single.php based on URL without a redirect
- Serial Number from custom table not appear in woocommerce_email_before_order_table action
- Creating posts with links from a txt file
- Change the behaviour of a button
- Action / Hook when a new plugin is added
- apply_filters() and call_user_func() to define and call a function outside a class
- How to create a custom post-new.php page for plugin , no wp menu
- Want to know how to reveal a WordPress theme, considering the theme name is hidden?
- The function called on the wp head hook becomes null
- Redirection from a specific page for users logged in but not with membership
- Save meta box data from selected dropdown list in bbpress reply form
- working code, not working – Plugin Dev
- Is there any way to get post meta from publish_post hook?
- Prevent plugin activation and add admin notice
- foreach argument to get specific file types getting too many returns
- Does WordPress have something like timer hook?
- Change the search results header from plugin
- Custom options page for themes
- Call do_action() within WordPress cronjob
- How can I get a plugin to hook ‘dbdelta_queries’ — a filter used during version update?
- Send retrieve password notification email with custom HTML email template
- Extend WP_List_Table class – Edit wp_usermeta – WPPB.me Boilerplate – Action error
- wp_head is not fired from the hook I have used in my plugin
- How to Add Extra Text In WordPress Title Before Post Publish
- Developing an IP lookup function using an API