Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
FP_Canada
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
344c4fd3
authored
2022-01-26 16:45:54 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ee
1 parent
39524c56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
wp-content/themes/understrap-child/inc/emails.php
wp-content/themes/understrap-child/inc/emails.php
View file @
344c4fd
...
...
@@ -34,7 +34,7 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
function
send_notification_for_publish_project
(
$post_id
)
{
$notification_sent
=
get_post_meta
(
$post_id
,
'notification_sent_for_publish_project'
,
true
);
if
(
!
$notification_sent
){
if
(
$notification_sent
!=
true
){
update_post_meta
(
$post_id
,
'notification_sent_for_publish_project'
,
true
);
update_post_meta
(
$post_id
,
'wpsl_country'
,
'CA'
);
delete_autoload_map_transient
();
...
...
@@ -53,7 +53,7 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
function
send_notification_for_delete_project
(
$post_id
)
{
$notification_sent
=
get_post_meta
(
$post_id
,
'notification_sent_for_delete_project'
,
true
);
if
(
!
$notification_sent
){
if
(
$notification_sent
!=
true
){
update_post_meta
(
$post_id
,
'notification_sent_for_delete_project'
,
true
);
$email
=
get_post_meta
(
$post_id
,
'wpsl_email'
,
true
);
$subject
=
'WYN Registration Denied'
;
...
...
Please
register
or
sign in
to post a comment