prefix}wppm_project_categories ORDER BY {$orderby_sql}"; $categories = $wpdb->get_results($sql); $wppm_current_user_capability = get_user_meta( $current_user->ID, 'wppm_capability', true ); $wppm_rich_text_editor = get_option('wppm_rich_text_editor'); $wppm_toolbar_actions = get_option('wppm_toolbar_actions'); if (!($current_user->ID && $current_user->has_cap('wppm_admin') || $current_user->has_cap('manage_options') || $current_user->ID && $current_user->has_cap('wppm_manager'))) { exit; } ?>