fields == null ) { $this->fields = apply_filters( 'themify_metabox/user/fields', array() ); } return $this->fields; } /** * Display the custom fields on user profile page * * @uses get_fields method */ function user_fields( $user ) { $groups = $this->get_fields(); if( empty( $groups ) ) { return; } foreach( $groups as $id => $group ) : ?>
| $field, 'meta_value' => $meta_value, 'toggle_class' => $toggle_class, 'data_hide' => $data_hide, 'ext_attr' => $ext_attr, 'post_id' => $post_id, 'themify_custom_panel_nonce' => $themify_custom_panel_nonce ) ); // backward compatibility: allow custom function calls in the fields array if( isset( $field['function'] ) && is_callable( $field['function'] ) ) { call_user_func( $field['function'], $field ); } ?> |