Tagged Questions
0
votes
1answer
97 views
Where is this function's callback getting its arguments from?
This might be better suited to Stack Overflow, thought I'd try here first though.
I was walking through this tutorial by Justin Tadlock and encountered the function below being used as the callback ...
3
votes
1answer
555 views
How to pass arguments from add_settings_field() to the callback function?
I have a function like this:
add_settings_field( 'contact_phone', 'Contact Phone', 'settings_callback', 'general');
That works. It calls settings_callback. Cool. The problem I have with this is: ...