mgd_toggle_article_lock

Name

mgd_toggle_article_lock -- Toggle the locked/unlocked state of an article

Synopsis

bool mgd_toggle_article_lock(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Toggles the locked/unlocked state of the article with id id

Returns true if successfull. Returns false on failure.

Example

<?php
  mgd_toggle_article_lock(13);
?>