Skip to content

reference:U editPage

Aaron Junker edited this page Apr 24, 2021 · 4 revisions

Function $U->editPage(string $content, string $name, string $code, int $online):bool

Edits a content page

Arguments

$content

Kind of the content.

$name

Name of the page.

$code

The new code of the page.

$online

1 if online, 0 if offline.

Return value

True if page editing has succeeded and False if page editing couldn't finish.

Example

$U->editPage("blog", "Test", "<p>test 2</p>", 0);
Clone this wiki locally