WP Change Default From Email
Or if you don’t actually want all those emails on your email client, just change the default from address and name https://wordpress.org/plugins/wp-change-default-from-email/
As I know it’s impossible at the moment, but Rahul please, tell us what is the best way to implement this feature?
How is userpro working with your anpress? Thinking about going that route myself
You can try add this code to functions.php or simply you can search in google for “include custom post type in wordpress search”. And then include ‘question’ and ‘answer’ post types. <?php add_filter( 'pre_get_posts', 'tgm_io_cpt_search' ); /** * This function modifies the main WordPress query to include an array of * post types instead of the default 'post' post type. * * @param object $query The original query. * @return object $query The amended query. */ function tgm_io_cpt_search( $query ) { if ( $query->is_search ) { $query->set( 'post_type', array( 'post', 'question', 'answer', 'any other post type you want' ) ); } return $query; }
add this hook as well: add_action('ap_after_update_question', 'using_id_as_slug’, 10, 2);