CPT Toggle – Disable Custom Post Types Security & Risk Analysis

wordpress.org/plugins/cpt-toggle-disable-custom-post-types

Enable or disable any post type. Tabs group post types by source (Core, theme, plugin) for a tidy WordPress admin.

20 active installs v1.5 PHP 7.4+ WP 6.0+ Updated Sep 8, 2025
admincptcustom-post-typedisabletoggle
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is CPT Toggle – Disable Custom Post Types Safe to Use in 2026?

Generally Safe

Score 100/100

CPT Toggle – Disable Custom Post Types has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6mo ago
Risk Assessment

The "cpt-toggle-disable-custom-post-types" plugin, version 1.5, exhibits a strong security posture based on the provided static analysis and vulnerability history. The code analysis reveals no dangerous functions, all SQL queries utilize prepared statements, and all output is properly escaped, which are excellent security practices. Furthermore, the plugin correctly implements nonce and capability checks on its single AJAX entry point, indicating robust protection against common web vulnerabilities. The absence of any recorded CVEs, either historical or current, further reinforces its secure standing. The taint analysis also shows no identified flows with unsanitized paths, suggesting a well-sanitized codebase. While the plugin demonstrates a high level of security diligence, the limited attack surface (only one AJAX handler) makes it difficult to draw definitive conclusions about its handling of more complex scenarios. However, based on the available data, the plugin is currently considered very secure.

Vulnerabilities
None known

CPT Toggle – Disable Custom Post Types Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

CPT Toggle – Disable Custom Post Types Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
26 escaped
Nonce Checks
1
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

100% escaped26 total outputs
Attack Surface

CPT Toggle – Disable Custom Post Types Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_cptt_dcp_toggle_post_typecustom-post-type-toggle.php:47
WordPress Hooks 7
actionadmin_menucustom-post-type-toggle.php:33
actionadmin_initcustom-post-type-toggle.php:34
actionadmin_enqueue_scriptscustom-post-type-toggle.php:35
filterregister_post_type_argscustom-post-type-toggle.php:38
actionregistered_post_typecustom-post-type-toggle.php:41
actioninitcustom-post-type-toggle.php:44
actioninitcustom-post-type-toggle.php:428
Maintenance & Trust

CPT Toggle – Disable Custom Post Types Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 8, 2025
PHP min version7.4
Downloads268

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

CPT Toggle – Disable Custom Post Types Developer Profile

Jay Kavanagh

1 plugin · 20 total installs

94
trust score
Avg Security Score
100/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect CPT Toggle – Disable Custom Post Types

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/cpt-toggle-disable-custom-post-types/cpt-toggle-disable-custom-post-types.php
Script Paths
/wp-content/plugins/cpt-toggle-disable-custom-post-types/
Version Parameters
cpt-toggle-disable-custom-post-types/cpt-toggle-disable-custom-post-types.php?ver=cpt-toggle-disable-custom-post-types

HTML / DOM Fingerprints

CSS Classes
cptt-wrapcptt-headercptt-tabscptt-tabcptt-panelcptt-gridcptt-cardcptt-card.disabled+7 more
Data Attributes
data-tabdata-post-type
JS Globals
window.CPTT_DCP
FAQ

Frequently Asked Questions about CPT Toggle – Disable Custom Post Types