Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('acf/load_field/name=select_a_county',array(&$this, 'acf_load_select_county'));
- add_filter('acf/load_value/name=select_state', array(&$this, 'acf_load_states'), 10, 3);
- function acf_load_select_county($field) {
- global $snah;
- }
- function acf_load_states($value) {
- global $snah;
- $snah = $value;
- return $value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement