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 3104

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.

0 votes

How to call shortcode function directly and pass $atts

I usually add a section like this to my shortcode callbacks: if (is_array($atts)) { extract(shortcode_atts(array( 'primary_att' => 'primary_default', ... ), $atts) …
wyrfel's user avatar
  • 3,085
0 votes
1 answer
38 views

Plugin Repostitory Questions

Hei, i've been developing a few plugins over the last few weeks that i want to share, soon, such as: a 'helper'-plugin, that eases the creation of standard option pages a photo contest manager a subcription … Also, what are the licensing policies when hosting on Wordpress Plugins? Thanks. …
wyrfel's user avatar
  • 3,085
0 votes

Custom content plugin for front page in wordpress

I'm using a combination of the 'Frontpage Manager', the 'Dynamic Widgets' plugins and stylesheet overrides to manage my frontpage content. …
wyrfel's user avatar
  • 3,085
2 votes
Accepted

Core framework/helpers for logging stuff?

I created my own plugin and it's now available from in the repository. (Edit: The plugin moved to its new home under the right name, so packaging and auto-update should be fine.)
wyrfel's user avatar
  • 3,085
1 vote

"Members only" section of a WordPress site - self signup and no backend access

I'm using Theme My Login in combination with Members for that.
wyrfel's user avatar
  • 3,085
4 votes
4 answers
280 views

Core framework/helpers for logging stuff?

I'm writing two plugins at the moment which need to (optionally) log stuff...lots of stuff...somewhere. … Since i don't like the 'you need to have proper permissions in this and that folder' messages of some plugins, ideally, i'd like to do it in the database. …
wyrfel's user avatar
  • 3,085
17 votes

How to change a user's password programatically

A simple wp_update_user(array('ID' => $userid, 'user_pass' => 'myNeWpaSSword')) will do everything for you - wp_update_user() (Codex). On a sidenote: are you aware of the Theme My Login (Wordpress Pl …
wyrfel's user avatar
  • 3,085
14 votes

How to catch/what to do with a WP Error Object

Hei, first, you check weather your result is a WP_Error object or not: $id = wp_insert_post(...); if (is_wp_error($id)) { $errors = $id->get_error_messages(); foreach ($errors as $error) { …
wyrfel's user avatar
  • 3,085
0 votes
1 answer
252 views

Timed content and flagging content as viewed by user?

Are there any good, simple (do one thing only, but do it right), free plugins that cater for the above? …
wyrfel's user avatar
  • 3,085
3 votes

There's some way to add a wrapper around posted images?

The image_send_to_editor hook passes a whole range of parameters, not just the html. One of them is the size. To get it, hook your filter passing an 8 as the number of supported parameters: add_filte …
wyrfel's user avatar
  • 3,085
0 votes

custom uploader in the admin area

Alternatively, you can treat your CSS uploads just like any other attachments and use the attachment manager for that. For instance, introduce a custom post type called 'Stylesheets' and replace the t …
wyrfel's user avatar
  • 3,085
1 vote

How to redirect a URL with parameters?

Your problem ain't the parameters...it's that your parametrized URL points to the wrong target...it has a .html where it should have a slash. .../windows-restarts-at-ec2.html?action=backlinks&wid... …
wyrfel's user avatar
  • 3,085
5 votes
1 answer
6k views

What is the 'admin_action_' . $_REQUEST['action'] hook used for?

Unfortunately, it's a bit useless for plugins as it's triggered at the very end of admin.php, after everything's loaded on the page (even the footer). …
wyrfel's user avatar
  • 3,085