The array tag has no wiki summary.
-1
votes
1answer
48 views
How do I just display the part of the array that I want to? [closed]
I would like to take a stored array, from the meta_value $custom_repeatable and just display the line 'hamsters repeat one', but the following code doesn't display it how I'd like.
Here is the code:
...
2
votes
1answer
444 views
How do I properly format the user_role array?
I used a role editor recently and needed to delete a role. After deleting it I noticed that it began to appear as blank in the edit user role drop-down. After a bit of investigating and deleting ...
2
votes
1answer
556 views
If function exists, and array is met, echo function?
I have a function like the following:
<?php echo my_custom_function( array( 'category_url'=>'My Special Category' ) ); ?>
It pulls data from the "My Special Category" and displays it. I ...
1
vote
1answer
998 views
How to store post meta in an array?
What is the best way to store post meta in an array (using a custom write box, know how to do that) so that all post meta is in a single custom field?
0
votes
2answers
152 views
settings api store multiple array
If I am not mistaken, the settings api only storing one single data array in wp_options table. You can only change the field data in the array.
What if I want to add multiple array in the same table ...