Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 12404

Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

14
votes
You can use the skip-plugins option in WP-CLI to not load individual plugins when using WP-CLI. You can either use it in command like this: wp user list --skip-plugins=my-plugin Or you can add this to your wp-cli.yml file: skip-plugins: - my-plugin …
answered Apr 19 '18 by swissspidy
1
vote
BuddyPress allows you to add custom filters for members, groups, blogs, and activities. There's a thorough documentation on how to add custom filters to loops and I'd recommend you to check it out. T …
answered Jan 31 '18 by swissspidy
2
votes
. When you don't see an "Additional CSS" section, make sure you're an admin and try disabling all plugins and switching to a default theme like Twenty Seventeen. …
answered Feb 3 '18 by swissspidy
2
votes
(untested) example: add_filter( 'map_meta_cap', 'wpse291964_limit_plugins', 10, 2 ); function wpse291964_limit_plugins( $caps, $cap ) { if ( 'install_plugins' === $cap ) { $plugins = get_plugins … (); // Only allow 10 plugins to be installed. if ( count( $plugins ) > 10 ) { $caps[] = 'do_not_allow'; } } return $caps; } I recommend you to watch this video by John Blackbourn to learn more about map_meta_cap and friends. …
answered Jan 24 '18 by swissspidy
1
vote
The error messages are pretty straightforward. First error: custom_permalinks_original_post_link() is not defined. It might be one defined by a plugin called "Custom Permalinks". See https://github. …
answered Apr 4 '18 by swissspidy
12
votes
It's impossible to help without having a look at your code. As I am one of the people who worked on WordPress 4.5.3, I can assure you that it's a usual maintenance and security release. There were no …
answered Aug 16 '16 by swissspidy
8
votes
and won‘t work without it. There might be plugins that disable the API, but that‘s at your own risk and certainly doesn‘t make your site suddenly secure. It might decrease the possible attack surface …
answered Jan 24 '18 by swissspidy
2
votes
Off the top of my head, you should be able to do something like this: $role = get_role( 'client' ); if ( $role && $role->has_cap( 'install_plugins' ) ) { // Role not updated yet, so update it. $ …
answered Jan 15 '18 by swissspidy
1
vote
If you think about it, wp_head is already fired at the time your shortcode gets parsed (the post content comes much later than the <head> of the page). So that won't work. (See this question for the …
answered Aug 14 '16 by swissspidy
1
vote
The init and plugins_loaded hooks are already run before a plugin is activated. That's why your first code doesn't work but the second does. Regarding your third code: there's no need to run add_act …
answered Jan 26 '18 by swissspidy
1
vote
wp_login is fired in wp_signon after the user has successfully logged in. That's after submitting the login form, so obviously you can't execute any JavaScript there. Of course you can still do somet …
answered Apr 4 '18 by swissspidy