Questions tagged [get-plugin-data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers

Programatically download a plugin

I'd like to programmatically download a plugin from the WordPress official repo, using a link/id/whatever identifier token. How could this be achieved?
FooBar's user avatar
  • 444
-2 votes
1 answer

how to restore one day before deleted data in wordpress?

Yesterday i accidently deleted very important people page data ,is it possible to restore that data and it is not available in trash
Gunjan's user avatar
  • 1
4 votes
1 answer

Plugins or Tutorials for displaying data from SQL-db on WP-page? [closed]

I have a custom weather-station on a Raspberry Pi 3 with a local LAMP-setup running. The sensordata is stored in it's own database. The job for Wordpress is just to have a easy (somewhat) WYSIWYG-...
Phish's user avatar
  • 41
1 vote
1 answer

Suggestions on Approach to New Plugin I'm Stuck On

I'm a newbie plugin developer, and I've had an idea for what I though would be a simple to build debut plugin, but I seem to have reached a brick wall with it and wonder if anyone can suggest some ...
Jelnet's user avatar
  • 31
0 votes
2 answers

Retrieve data from multiple Wordpress sites using PHP script

I want to run a PHP script that iterates over WordPress sites found in a certain folder and read the plugins info per each site using get_plugin function In the code below, I try to require API ...
user2867106's user avatar
4 votes
2 answers

Is it save to require plugin.php early to be able to use get_plugin_data() earlier?

I'd like to avoid hard coding my plugin's version at multiple places. To realize this the function get_plugin_data() comes in handy. But here the fun comes to an unpleasant stop. Checking for a plugin ...
wedi's user avatar
  • 141
0 votes
1 answer

Unable to retrieve data from multiple Wordpress websites on same server

I am trying to retrieve data from multiple client Wordpress websites on a single php page. So I can monitor all these websites without going through each one. I am able to display data from one ...
Robert hue's user avatar
  • 8,466
3 votes
1 answer

Get file headers in custom file

in my one of my plugins i have modules (kind of like plugins in a plugin), is there a function like get_plugin_data() or wp_get_theme() that will allow me to get the header section of a custom file (...
Sofia Rose's user avatar
1 vote
1 answer

WordPress Multisite - get_plugin_data()

I use WordPress Multisite. I have multiple sites with plugins installed. I can successfully get a list of the plugin paths with the option value active_plugins from each site. I can not get ...
Jens Törnell's user avatar
1 vote
1 answer

"Master" Wordpress Multisite - Database Sync

I've had an idea in my head about creating a Wordpress Multisite environment that would have Plugins along with them that would not only have "default" settings, but be able to update each blog's ...
Zach's user avatar
  • 1,923
8 votes
5 answers

Call to undefined function `get_plugin_data()`

I have a class inside a file that i include_once() from the functions.php of my theme. The class can be used as stand alone plugin, or integrated in a theme. Inside the class i want to fill a class ...
kaiser's user avatar
  • 50.5k