delete adv

This commit is contained in:
argoexpert press
2024-05-06 12:02:48 +03:00
parent 4f99b398ba
commit 51d7df598b
9 changed files with 41 additions and 52 deletions

View File

@@ -498,7 +498,7 @@ function auto_add_category_by_slug_to_new_post($post_ID, $post, $update)
wp_set_post_categories($post_ID, array($category->term_id), true);
}
}
add_action('save_post', 'auto_add_category_by_slug_to_new_post', 10, 3);
//add_action('save_post', 'auto_add_category_by_slug_to_new_post', 10, 3);
function get_category_name($post = null)
@@ -672,7 +672,7 @@ function last_sticky_post() {
}
// отправка писем через свой почтовый сервис
function agroxpert_send_smtp_email( $phpmailer ) {
$phpmailer->isSMTP();