Added comment to save post method
This commit is contained in:
@@ -92,6 +92,13 @@ class Wiaas_Admin_Product {
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check for post status and and if there is country available
|
||||||
|
* Set post status to draft if the country is added
|
||||||
|
*
|
||||||
|
* @param $post_id
|
||||||
|
*/
|
||||||
|
|
||||||
public static function wiaas_my_save_post($post_id) {
|
public static function wiaas_my_save_post($post_id) {
|
||||||
|
|
||||||
global $post;
|
global $post;
|
||||||
|
|||||||
Reference in New Issue
Block a user