Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 200051

Plugins are tools to extend the functionality of WordPress.Use the tag to mark questions related to issues and bugs faced in the plugin or its improvement. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

2 votes

I have created a custom plugin. After activation it creating page but i am not getting how t...

I would approach this in different way. In this original index.php file, keep it simple, like this: if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'My_Plugin' ) ) { require_once …
mWin's user avatar
  • 136
0 votes

plugin development code standard not matching for SQL query

To be honest, I'm not sure if you can trust this plugin 100%. I run the test on my plugin, that is already in repo, and it showed me few false alarms. I put your code inside my plugin code and run the …
mWin's user avatar
  • 136
0 votes
Accepted

How to trigger plugin migration code when plugin updates?

plugin update in WordPress is basically removing it and installing again, so there is no special hook for this action. So this hacky solution is the best one: Save in options your last version On ini …
mWin's user avatar
  • 136
1 vote

"View Version Details" on Plugin update shows "Plugin not found"

page you can use this filter: add_filter( 'plugins_api', array( $this, 'prefill_plugin_details' ), 20, 3 ); /** * Function to prefill plugin details on Plugins page … Code above is from one of my old plugins I didn't test it right now, but should work. plugins_api filter docs: https://developer.wordpress.org/reference/functions/plugins_api/ But in generall if possible …
mWin's user avatar
  • 136
0 votes

wp_head filter not executed inside custom class

If it is your actual code, you have hook to wp_head commented: //add_action('wp_head', array($this, 'remove_wp_header_links')); Just remove slashes and it should work. add_action('wp_head', array($th …
mWin's user avatar
  • 136