EDD_Logging::add( string $title = '', string $message = '', int $parent, string $type = null )

Create new log entry


Description Description

This is just a simple and fast way to log something. Use $this->insert_log() if you need to store custom meta data


Parameters Parameters

$title

(Optional) Log entry title

Default value: ''

$message

(Optional) Log entry message

Default value: ''

$parent

(Required) Log entry parent

$type

(Optional) Log type (default: null)

Default value: null


Top ↑

Return Return

(int) Log ID


Top ↑

Source Source

File: includes/class-edd-logging.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.3.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.