Retrieves a parent manager.
Description
See also
Parameters
- $slug
-
(string) (Required) Parent manager identifier.
Return
(Leaves_And_Love\Plugin_Lib\DB_Objects\Manager) Parent manager instance.
Source
File: src/db-objects/manager-with-parents-trait.php
public function get_parent_manager( $slug ) { if ( ! isset( $this->parent_managers[ $slug ] ) ) { return null; } return $this->parent_managers[ $slug ]; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |