Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
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
a4c57b95
authored
2023-11-07 14:06:01 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added import fields
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
09fe3824
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
wp-content/themes/msf-child/inc/commands.php
wp-content/themes/msf-child/inc/commands.php
View file @
a4c57b9
...
...
@@ -13,6 +13,8 @@ class SYNC_FILES {
update_field
(
'authors'
,
$extracted_data
[
'authors'
],
$post_id
);
update_field
(
'document_year'
,
$extracted_data
[
'year'
],
$post_id
);
update_field
(
'version'
,
$extracted_data
[
'version'
],
$post_id
);
update_field
(
'wpml'
,
$extracted_data
[
'wmpl'
],
$post_id
);
update_field
(
'exclude_from_search'
,
0
,
$post_id
);
update_field
(
'msf_initiative'
,
$extracted_data
[
'initiative'
],
$post_id
);
update_field
(
'document_link'
,
$extracted_data
[
'link'
],
$post_id
);
update_field
(
'description'
,
$extracted_data
[
'description'
],
$post_id
);
...
...
Please
register
or
sign in
to post a comment