ap_get_addon( string $file )
Description #
Return a single addon by file path.
Parameters #
- $filestring (Required) Main file name of addon.
Source #
File: includes/functions.php
function ap_get_addon( $file ) { $search = false; foreach ( ap_get_addons() as $f => $addon ) { if ( $f === $file ) { $search = $addon; break; } } return $search; }
Expand full source code Collapse full source code View on GitHub: includes/functions.php:1730
Add your comment