08/11/2017 at 10:17 am
#432025
Keymaster
@ Adam
There’s nothing available to read. You would hook into like the other filters:
add_filter( 'cn_search_results_messages', 'cn_gender_search_results_messages' );
function cn_gender_search_results_messages( $messages ) {
$messages['cn-gender'] => 'The results are being filtered by gender.';
return $messages;
}
You would of course add the logic to deal with changing the message string based on if gender is being search and by which.
