Articles of get plugin data

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 additional data from get_plugin data. I use this code: $plugins = get_blog_option($blog_id, ‘active_plugins’); foreach( $plugins as $plugin ) { var_dump( get_plugin_data($plugin) ); […]

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 variable (inside the __construct() function) with the native wordpress function get_plugin_data(). Fun as it is, i […]

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 (by passing the path as a parameter)? By heading section i mean /* Plugin Name: Name Of The […]

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

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-possibility to edit the design of the display-page that is shown on a secondary Pi by using a fullscreen-browser. I need […]