New CPT Published Not Sending
-
I can get emails to send on a new Post being published but when I change the settings to send on my New CPT Publish it does not work.
I have added the SMTP plugin you recommended and added a DKIM to my DNS. I have deactivated the members plugin(And for now only trying to send to the administrator, aka me)
My CPT is marked public, and I have pasted the function below so you can review my CPT settings. Thank again
add_action( ‘init’, ‘hp_mitchell_area’);
function hp_mitchell_area() {
register_post_type(‘hp_mitchell_area’,
array(
‘labels’ => array(
‘name’ => ‘Mitchell Area’,
‘singular_name’ => ‘Mitchell’,
‘add_new’ => ‘Add New Alert’,
‘add_new_item’ => ‘Add New Alert for the Mitchell Area’,
‘edit’ => ‘Edit’,
‘edit_item’ => ‘Edit Alert’,
‘new_item’ => ‘New Alert’,
‘view’ => ‘View’,
‘view_item’ => ‘View Mitchell Area Alert’,
‘search_items’ => ‘Search Mitchell Area Alerts’,
‘not_found’ => ‘No Alerts from Mitchell found’,
‘not_found_in_trash’ => ‘No Alerts from Mitchell found in trash’,
‘parent’ => ‘Parent Alert’,
),‘public’ => true,
‘menu_position’ => 15,
‘hierarchical’ => false,
‘supports’ => array(‘editor’, ‘revisions’),
‘show_ui’ => true,
‘has_archive’ => ‘cancellations-and-delays/hp_mitchell_area’,
‘rewrite’ => true,
‘capability_type’ => array( ‘alert’, ‘alerts’ ),
‘map_meta_cap’=> true
)
);}
The page I need help with: [log in to see the link]
- The topic ‘New CPT Published Not Sending’ is closed to new replies.