Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
3 answers
245 views

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
1 vote
1 answer
60 views

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
4 votes
2 answers
969 views

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
3 votes
1 answer
559 views

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