Last active
February 7, 2016 15:48
-
-
Save carlodaniele/8ea9184655514ee322f1 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Store custom field meta box data | |
* | |
* @param int $post_id The post ID. | |
*/ | |
function food_save_meta_boxes_data( $post_id ){ | |
// code here | |
} | |
add_action( 'save_post_food', 'food_save_meta_boxes_data', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment