function blogapi_movabletype_publish_post in Blog API 7.2
Same name and namespace in other branches
- 8 modules/blogapi_movabletype/blogapi_movabletype.module \blogapi_movabletype_publish_post()
Service callback for mt.publishPost
1 string reference to 'blogapi_movabletype_publish_post'
- blogapi_movabletype_services_resources in modules/
blogapi_movabletype/ blogapi_movabletype.module - Implements hook_services_resources().
File
- modules/
blogapi_movabletype/ blogapi_movabletype.module, line 215 - Provides MovableType services for BlogAPI
Code
function blogapi_movabletype_publish_post($postid, $username, $password) {
return blogapi_edit_post($postid, $username, $password, NULL, 1);
}