8,104 reputation
1030
bio website
location 127.0.0.1
age
visits member for 3 years, 6 months
seen yesterday

I sell sea shells by the sea shore.


Jun
9
revised Replace Taxomony Description Field with Visual/WYSIWYG Editor
typo in function declaration
Jun
8
comment how to redirect to another post without getting headers already sent error?
@Digamber No problem...
Jun
6
reviewed Approve Wordpress site stopped working after simply opening header.php in the wp-admin editor
Jun
5
revised how to redirect to another post without getting headers already sent error?
added 537 characters in body
Jun
5
revised how to redirect to another post without getting headers already sent error?
added 537 characters in body
Jun
5
answered how to redirect to another post without getting headers already sent error?
Jun
4
reviewed Approve Passing variables through locate_template
Jun
4
reviewed Approve Where can I find a list of WordPress hooks?
Jun
4
reviewed Approve Restricting users to view only media library items they have uploaded?
Jun
2
comment delete image attachments of a custom post type except featured image
@gurung These arguments are passed to your callback function in wp-includes/post.php line 3541, you will note: do_action( 'save_post', $post_ID, $post, $update );. Thus they are available for use within your callback, respectively $post_ID is the Post ID of the current object being saved, $post is the entire current WP_Post object and $update denotes (to quote core) "Whether this is an existing post being updated or not."
Jun
2
reviewed Edit How to get Next/previous_post_link to go through articles in top parent category
Jun
2
revised How to get Next/previous_post_link to go through articles in top parent category
[Edit removed during grace period]
Jun
2
comment delete image attachments of a custom post type except featured image
@gurung Using the publish_{post_type} hook will also work but be aware that this hook will only fire when a post of your desired type transitions to the status of publish from any other status, for example from draft to publish. See codex.wordpress.org/Post_Status_Transitions for reference. Most likely in your scenario, save_post is the more suitable hook for your needs.
Jun
1
revised delete image attachments of a custom post type except featured image
added 2 characters in body
Jun
1
answered delete image attachments of a custom post type except featured image
Jun
1
reviewed Approve All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images
Jun
1
reviewed Approve Table is not created in WAMP
May
29
reviewed Approve How to add a custom field in the advanced menu properties?
May
18
awarded  Mortarboard
May
16
reviewed Approve Use wp_enqueue_scripts, not wp_print_styles?