| @@ -106,9 +106,9 @@ | ||
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | public function profile_update($user_id){ |
| 110 | - if (tutils()->array_get('tutor_action', $_POST) === 'tutor_profile_edit' ){ | |
| 110 | + if (tutils()->array_get('tutor_action', $_POST) !== 'tutor_profile_update_by_wp' ){ | |
| 111 | 111 | return; |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | $_tutor_profile_job_title = sanitize_text_field(tutor_utils()->avalue_dot('_tutor_profile_job_title', $_POST)); |