Created
June 22, 2022 15:08
-
-
Save ellegaarddk/d3cf2b4cd0190395761691cb96f16322 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function eid_cpt_employee() { | |
register_post_type( 'eid_team_member', | |
array( | |
'labels' => array( | |
'name' => __( 'Medarbejdere', 'eid_function' ), | |
'singular_name => __( 'Medarbejder', 'eid_function' ), | |
), | |
'description' => __( 'Virksomhedens medarbejdere', 'eid_function' ), | |
'public' => true, | |
'has_archive' => true, | |
) | |
); | |
} | |
add_action( 'init', 'eid_cpt_employee'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment