adding post type details
This commit is contained in:
parent
059895adf6
commit
f48f1c052a
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
/node_modules
|
/node_modules
|
||||||
/.idea
|
/.idea
|
||||||
/.vscode
|
/.vscode
|
||||||
|
.DS_Store
|
||||||
|
*/.DS_Store
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
// function custom_menu_page_removing() {
|
||||||
|
// remove_menu_page('edit.php'); // Posts
|
||||||
|
// }
|
||||||
|
// add_action( 'admin_menu', 'custom_menu_page_removing' );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// #### POST TYPES
|
// #### POST TYPES
|
||||||
function create_posttype() {
|
function create_posttype() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user