I always use my custom functions for getting values of Options Page (put them in functions.php
). I don’t like repeating code.
I use get_o_field('key_name'), the_o_field('key_name')
instead of get_field('key_name', 'options'), the_field('key_name', 'options')
.
Can you review and make some updates for this issue?
Hi @laravel
Thanks for your feedback, but these functions will not be added to the core.
The $post_id parameter is used to create unity throughout the api.
These seem very custom to your needs and should be left in your functions.php
If other users also request for this, then of course I would consider it.
Thanks
E