WP CLI will run plugins by default, so any hooks used in active plugins would be run.
You can tell WP CLI to not run the active plugins, though. To get the full list of plugins, even if a malicious plugin tries to hide itself, the following should work:
wp plugin list --skip-plugins
(Caveat: any must-use plugins will still be loaded. To disable MU plugins, you’d need to remove them from the wp-content/mu-plugins
directory.)
--skip-plugins
is a global parameter, so you should be able to use it on any wp *
command. --skip-themes
is also available.
Related Posts:
- WP CLI Get all Enqueued Scripts and Styles
- How to get WordPress’ hooks/actions run sequence?
- How many times can I hook into the same action?
- Is there a hook before the user is authenticated?
- Hook into WordPress update?
- switch_to_blog(): Load textdomain
- Can I hook inside another hook?
- Adding function directly vs using hook in function.php
- How can I send to multiple Contact Form 7 recipients based on form input? [closed]
- Does anyone have a visual breakdown of core hooks and when they are fired?
- What is the action hook for save media-form on gallery tab?
- Check if action hook exists before adding actions to it
- Post-Registration, post-meta hook?
- Removing action added from constructor
- after login that will redirect user role into a page
- Create hooks based on an array of hook names?
- Access post meta just after publishing
- update post meta using user_register hook not working
- how to create endpoint for downloading pdf files?
- hook to get (and change) the search string before processing
- Is there a recover_post hook to go with trash_post hook?
- How to override languages files in wp-content/languages/themes with child theme
- WooCommerce New customer email Hook? [closed]
- hooks & filters and variables
- How to increase password requirements for registration [closed]
- Can user_register output the password?
- Run add_action hook if condition
- Gutenberg gallery hook errors
- How to change title attribute returned by comments_popup_link()?
- Hook all http requests
- How to use do_action_ref_array?
- Problem using role_has_cap hook
- How to find hooks as per Just-In-Time approach?
- WordPress action and filter hooks runs asynchronously?
- Prevent attachment from being deleted
- Can not set custom title on some WordPress setups
- BuddyPress User Profile Menu
- Update post meta using pending_to_publish hook
- Get log of function/method calls made by do_action() on WordPress initialization
- Is it possible to change image urls by hooks?
- Footer.php being inserted before article closing tag?
- Get all posts with a duplicate name
- Save acf field data via acf/save_post before post is saved
- Above-the-fold inline styles from SASS generated stylesheet
- Redirect in form handler causing form to be submitted twice
- Checking login status before wp_get_current_user is initialised
- Add media library tab
- Conditional hook [closed]
- Add_menu_page() error message -> “You do not have sufficient permissions to access this page”
- Where is the right place to register/enqueue scripts & styles
- Displaying list of cities according to the selected state. Using the WordPress hook
- Removing parent theme action on pluggable function not working
- Removing a Filter
- Which action hook should I use to intercept a form upon submission?
- Would there be anything stopping me from removing both wp_head and wp_footer?
- Where Are Hooks?
- WordPress wp_loaded action hook
- Check if `do_action()` in WordPress returns any result
- How to cancel an action hooked to untrash_post? or any hook
- add_action hook for publish_post not working
- Modify Notification Message When Profile Updated
- WordPress plugin activation, deactivation and uninstall hook not being triggered
- Hook for inserting?
- How to stop WordPress from updating the post meta
- Can an RSS item be altered with a hook?
- Block Update Profile Errors
- Thickbox ‘tb_unload’ function being called twice
- How to remove a meta description or other contents
- Print on screen during shutdown hook – error during saving in theme-editor.php
- Hooking save_post breaks check for term in added_term_relationship hook?
- Restrict editing of post type to list stored in user meta
- Delay action unltil the untill previous (hoocked) action is completed
- changing genesis_before_while in new theme framework
- Rewrite the search page to use an appended slug + parameter
- What is the hook to remove a menu items group from Appearance > Menus column Add menu items
- Add stuff above header edit form
- do_action not working in loop
- add_action doesn’t work for my function
- Add HTML code before the title of the Tag page
- How to get user profile information before update?
- WP_mail() Issue. Duplicate emails if $_GET[‘A’] == email
- Are there Hooks for featured image popup?
- Hooks with same priority number. Can one stack items returned in divs, position: absolute each with their own z-index?
- trying to locate the correct file to edit my internal linking anchor tags
- Can add_image_size be added earlier
- WordPress sending data with add_action
- How to hide / remove attachment “alt” or “caption” field in Admin?
- Hook to change Author Info
- Access post meta just after publishing
- Send email to post author 1 day before his project ends
- can’t access dashboard and showing forbidden page
- prepopulate form from a hook within wordpress function.php file
- Query author’s posts & posts that have author’s id as meta value
- Change Title Type
- admin_post hook not working
- What is meaning of BEFORE and AFTER in this hook name?
- How to display before H1 Title
- How to set Post ID from context to an attribute in child block of Gutenberg Query Loop
- Callback API for getting response from fygaro payment gateway
- Changing login url