Pepperminty Wiki Module API

page-edit.php

Table of Contents

generate_page_hash()  : string
Generates a unique hash of a page's content for edit conflict detection purposes.

Functions

generate_page_hash()

Generates a unique hash of a page's content for edit conflict detection purposes.

generate_page_hash(string $page_data) : string
Parameters
$page_data : string

The page text to hash.

Return values
string

A hash of the given page text.

Search results