I have a lot of custom post types and i want to create them all with in the same function, so is there any way to send parameters to the function when i'm creating the custom post type.
I thinking of something like this:
function custom_poster($pluralName, $singularName) {
// Create custom post type
}
add_action( 'init', 'custom_poster' );