adding post type details

This commit is contained in:
Your NameAntoine 2022-10-03 08:43:48 +02:00
parent 059895adf6
commit f48f1c052a
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
/node_modules
/.idea
/.vscode
.DS_Store
*/.DS_Store

View File

@ -1,4 +1,10 @@
<?php
// function custom_menu_page_removing() {
// remove_menu_page('edit.php'); // Posts
// }
// add_action( 'admin_menu', 'custom_menu_page_removing' );
// #### POST TYPES
function create_posttype() {