Skip to content

Instantly share code, notes, and snippets.

View nightillusions's full-sized avatar
🌎
Remote Work

Pascal Jordin nightillusions

🌎
Remote Work
View GitHub Profile
@justintadlock
justintadlock / register-post-type.php
Last active October 20, 2024 13:47
Help file when registering post types.
<?php
# Register custom post types on the 'init' hook.
add_action( 'init', 'my_register_post_types' );
/**
* Registers post types needed by the plugin.
*
* @since 1.0.0
* @access public