Created
January 13, 2019 03:15
-
-
Save freddielore/59a0b50e30af34e47c5061667e9797f3 to your computer and use it in GitHub Desktop.
[Smart SEO Export Fields] Lets you export other custom fields to include in bulk editing
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 | |
add_filter( 'smart_seo_export_fields', 'child_export_other_custom_fields', 8, 1 ); | |
function child_export_other_custom_fields( $fields ){ | |
$fields[] = '_custom_field_name'; // _custom_field_name will exported to CSV as well | |
$fields[] = '_another_custom_field'; // _another_custom_field will exported to CSV as well | |
return $fields; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment