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
- Sticky bar with filter button and product count
- Override class inside $atts shortcode_atts in WordPress
- creating custom function to log actions in plugin
- Modifying meta tags after doing ajax call in plugin
- how to add custom functionality after woocommerce place order button
- .mo translation strings not loading in PHP scripts that handle AJAX calls
- Is it possible to change a term slug before being saved to the database?
- add_rewrite_rule works in themes function php but when moved into plugin it stops working
- Clearing caches on plugin uninstall
- External Authentication, session_tokens not destroyed on logout
- Add code inside specific wordpress standard function
- Where to add hooks in a class
- How to customize a permalink (URL) structure?
- Trying to understand order and frequency of action hooks firing
- Where can i find wordpress auto update code flows?
- Custom Taxonomy to dropdown box on adminside wordpress
- How to use output buffering in WordPress hooked functions?
- Create a free scripts and styles template within a plugin
- Edit Yoast SEO breadcrumbs output [closed]
- Conditional hook based on the core function that is calling it
- How to modify the comments to be displayed in a post?
- do_action and add_action on two different installed plugins won’t work
- How to change the hover content of a specific menu item on WordPress?
- Using a post-signup hook to get user details
- How can I turn a custom wordpress page into a product page?
- how to search users by ajax live search
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- Send push when new post is published in a certain category
- How can we display product price $104 on the cart while the credit card payment method is checked?
- Incorporate small angular feature in my wordpress site
- Remove unwanted elements for a wp_nav_menu
- How do I update a field of a meta box?
- How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]
- How to add user details to different tables immediately after user registration
- Search: how to extend the existing search to include a custom table
- Is there documentation reference for forms in menu and setting pages?
- Modify custom field input data before creating a new post
- template_redirect or admin-ajax.php?
- WordPress custom taxonomy check box to dropdown
- mysql_real_escape_string() vs. esc_sql() in WordPress
- Force HTTPS 301 redirect with hook
- I have 2 plugins using the same wp_login action hook and one is not working
- WordPress function get_the_terms() returns ‘Invalid taxonomy’ error
- Add a new confirmation page before saving
- Checking for existence of a page by title?
- how to get context information inside my funcion
- Enqueue script globally
- WordPress class, using add_action to call member function does not work
- Redirect to another page using contact form 7? [closed]
- use of do_action() without any functions attached
- How dynamic action login_form_{action} is working
- How should I go about registering JavaScript that isn’t a file? [duplicate]
- Fatal error: Call to a member function get_page_permastruct() on a non-object
- What happens when two or more plugins use the same hook?
- wp_get_post_terms Order by not working
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- Does admin_print_scripts-$hook_suffix work for nested paths to individual files?
- How to get all queries’s results after they have executed?
- Custom entity search and display
- Function/Class to list categories with checkboxes
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- How to set a cookie for logged in users to md5($user->ID . “my_secret”)?
- wp_get_theme Warning: Illegal offset type
- Plugin uninstall function is not working
- Plugin: database creation
- Loading Modernizr (or other JavaScript libraries) for use in a plugin
- Bug: Post needs to be updated twice when adding action for save_post hook
- Why wp_die() doesn’t work with wp_redirect but exit() works
- flush rewrite rules after plugin update?
- When does save_post hook fire on post save/update
- Plugin does not add action
- Remove an action by extending class and replacing it
- Warning: call_user_func_array() expects parameter 1 to be a valid callback
- Add child pages to submenu automatically
- Show message from backend
- Print Dashboard submenu name and filename