Support » Plugin: Content Update Notification » nothing happens when content has been added or updated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrew Norcross

    (@norcross)

    I need a little more information. What kind of content (posts, pages, etc). Does any of the other email functions on the site work, i.e. new user emails or password resets?

    ahh, I have published now a page and it works. But it didnt work with custom post type. Any solution?

    Plugin Author Andrew Norcross

    (@norcross)

    By default, the plugin only recognizes posts and pages. There is a filter cun_content_types to modify that. Example below.

    function rkv_add_cun_type( $types ) {
    
    	// Check for the post type, then add it.
    	if ( ! in_array( 'your-post-type', $types ) ) {
    		$types[] = 'your-post-type';
    	}
    
    	// Return the post type array.
    	return $types;
    }
    
    add_filter( 'cun_content_types', 'rkv_add_cun_type' );

    thanks 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.