You appear to be a bot. Output may be restricted
Description
Generates a unique ID for this notice.
It's the class name (without the namespace) and with underscores converted to hyphens.
Usage
$string = Notice::get_id();
Parameters
Returns
string
Source
File name: easy-digital-downloads/includes/admin/promos/notices/abstract-notice.php
Lines:
1 to 3 of 3
public function get_id() { return strtolower( str_replace( '_', '-', basename( str_replace( '\\', '/', get_class( $this ) ) ) ) ); }