97 reputation
8
bio website
location
age
visits member for 2 years, 1 month
seen Mar 16 at 13:15

Nov
1
awarded  Popular Question
Jul
5
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
After I run the array_push function it looks like this pastie.org/8112956
Jul
5
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
Here is the array from the first part pastie.org/8112933 it is broken when I did unset. If we don't get any answer I will try moving it to stackoverflow
Jul
4
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
I'm trying, the form plugin redirects after submission. From what I am viewing in the db it just shows identical values, but the key is completely empty
Jul
4
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
Doing this to help someone out, their theme is called Website (its from codecanyon) I've never worked with it before, and yes it seems like this would have been a whole lot easier to just use a single custom field for each option.
Jul
4
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
Yes, that makes sense that I'm unsetting the whole key. I'm not used to working with multidimensional arrays, so this is new to me. Would array_push still work though?
Jul
4
comment Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
This is for a form plugin, so it is editing the array using $entry objects, the 'current' and 'items' constants are defined by their theme. The array is holding post IDs, and the $ID var is the current user's post ID, which is to be removed from the old array, and added to the new.
Jul
4
asked Update Post Meta for Arrays — Remove/Replace Single Value from Multi Dimensional Array
Mar
15
accepted Alternative to new_to_publish Hook for Custom Statuses
Mar
15
comment Alternative to new_to_publish Hook for Custom Statuses
Oh this did work, I was doing it wrong :)
Mar
15
comment Alternative to new_to_publish Hook for Custom Statuses
Thanks for the reply, I didn't get a result with the above but I am still playing with _transition_post_status
Mar
13
asked Alternative to new_to_publish Hook for Custom Statuses
Dec
21
accepted Modify Post Status Arguments
Dec
21
comment Modify Post Status Arguments
Works perfectly, the first part anyway, didn't test the second since the first worked ha
Dec
19
answered Modify Wp-Login Labels: Username to Email
Dec
19
asked Modify Wp-Login Labels: Username to Email
Dec
18
asked Modify Post Status Arguments
Dec
8
awarded  Tumbleweed
Nov
29
revised Function is Missing an Action Hook
deleted 4 characters in body
Nov
29
answered Function is Missing an Action Hook