Custom Fields
Re-Envisioned
Support MB Settings Page Take settings values in add_action( 'init' Reply To: Take settings values in add_action( 'init'

#13804

Anh Tran
Keymaster

Hi, please change the priority in the add_action from 0 to something greater than 20. Meta Box plugin register fields at priority 20 (to make sure all custom post types and custom taxonomies are available when they also use the init hook with priority 10). So, changing it to a number greater than 20 makes the meta boxes and fields available and you’re able to use the helper functions to get the value.