Constructor.
Description
See also
Parameters
- $prefix
-
(string) (Required) The prefix for all AJAX actions.
- $args
-
(array) (Required) Array of arguments.
- 'path_callback'
(callable) Callback to create a full plugin path from a relative path. - 'url_callback'
(callable) Callback to create a full plugin URL from a relative path.
- 'path_callback'
Source
File: src/assets.php
public function __construct( $prefix, $args ) { parent::__construct( $prefix, $args ); $this->setup_hooks(); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |