Updates the properties of a write panel
public static Update ( integer $customWritePanelId, string $name, string $description = '', array $standardFields = [], array $categories = [], integer $display_order = 1, string $type = FALSE, $createDefaultGroup = true, $single_post, $default_theme_page = NULL, $default_parent_page = NULL, $expanded ) | ||
$customWritePanelId | integer | panel id |
$name | string | write panel name |
$description | string | write panel description |
$standardFields | array | a list of standard fields ids that are to be displayed in in the panel. Use $STANDARD_FIELDS defined in MF_Constant.php |
$categories | array | array of category ids that are checked by default when the user opens Write tab for that panel. |
$display_order | integer | the order of the panel in Magic Fields > Write Panels tab |
$type | string | 'post' or 'page' |