Skip to content

Commit

Permalink
Disable Attachment CPT
Browse files Browse the repository at this point in the history
  • Loading branch information
widoz committed Jan 21, 2024
1 parent 1823531 commit 3971884
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document.addEventListener('DOMContentLoaded', () => {
const UNSUPPORTED_CPTS = [''];
const UNSUPPORTED_CPTS = ['attachment'];

const { wp, wpEntitiesSearch } = window;

Expand Down

0 comments on commit 3971884

Please sign in to comment.