This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$terms = wp_get_post_terms( $post_id, 'ticket_category' ); | |
if ( $terms ) { | |
$output = array(); | |
foreach( $terms as $term ) { | |
$output[] = $term->name | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add novalidate-cert flag to mailbox connection for KBS Email Support. | |
* | |
* This flag is required if your IMAP/POP3 mail host does not have a valid SSL certificate. | |
* | |
* Add this code to your child theme functions.php file, or to a custom plugin. | |
*/ | |
function kbs_ems_additional_flags( $flags ) { | |
$flags[] = 'novalidate-cert'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Do not process emails from specified addresses | |
* | |
* @param bool $process True to process, false to halt | |
* @param array $data Array of email data | |
* @return bool | |
*/ | |
function kbs_ems_stop_processing_email_addresses( $process, $data ) { | |
if ( $process ) { |
NewerOlder