steps to build plugin in wordpress code example
Example: how to make wordpress plugin step by step
true, 'label' => __( 'Custom Post', 'textdomain' ));
register_post_type( 'custom_post', $args );
}
add_action( 'init', 'custom_setup_post_type' );
?>