public function admin_content_settings()
{
$pod_name = str_replace('pods-settings-', '', $_GET['page']);
$pod = pods($pod_name);
if ('custom' != pods_var('ui_style', $pod->pod_data['options'], 'settings', null, true)) {
$actions_disabled = array('manage' => 'manage', 'add' => 'add', 'delete' => 'delete', 'duplicate' => 'duplicate', 'view' => 'view', 'export' => 'export');
$_GET['action'] = 'edit';
$page_title = pods_var_raw('label', $pod->pod_data, ucwords(str_replace('_', ' ', $pod->pod_data['name'])), null, true);
$ui = array('pod' => $pod, 'fields' => array('edit' => $pod->pod_data['fields']), 'header' => array('edit' => $page_title), 'label' => array('edit' => __('Save Changes', 'pods')), 'style' => pods_var('ui_style', $pod->pod_data['options'], 'settings', null, true), 'icon' => pods_evaluate_tags(pods_var_raw('menu_icon', $pod->pod_data['options']), true), 'actions_disabled' => $actions_disabled);
$ui = apply_filters('pods_admin_ui_' . $pod->pod, apply_filters('pods_admin_ui', $ui, $pod->pod, $pod), $pod->pod, $pod);
// Force disabled actions, do not pass go, do not collect $two_hundred
$ui['actions_disabled'] = $actions_disabled;
pods_ui($ui);
} else {
do_action('pods_admin_ui_custom', $pod);
do_action('pods_admin_ui_custom_' . $pod->pod, $pod);
}
}