Created
December 4, 2019 05:18
-
-
Save Danushka181/39954575c3d298f707f456f87e9d8ae6 to your computer and use it in GitHub Desktop.
Update post meta wordpress
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 | |
// Update templates by dynamicaly to sub pages | |
update_post_meta( $pg_id, 'eme_page_template', 'mod-ht6-excursion-inner'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment