simple_fields_register_post_type_default

Sets the default post connector for a post type. Everytime you create a new post of your post type then the selected post connector will be used.

<?php
/**
* Sets the default post connector for a post type
*
* @param $post_type_connector = connector id (int) or slug (string) or string __inherit__
*
*/
simple_fields_register_post_type_default('test_connector', 'post');

Leave a Reply