# Plugin load order?

**URL:** <https://forum.getkirby.com/t/plugin-load-order/1701>\
**Category:** Questions\
**Tags:** v2\
**Created:** [July 28, 2015, 7:21am UTC](https://forum.getkirby.com/t/plugin-load-order/1701 "2015-07-28T07:21:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [July 28, 2015, 10:47am UTC](https://forum.getkirby.com/t/plugin-load-order/1701/2 "2015-07-28T10:47:55Z")

</div>

You can load your plugin dependencies from within the plugin that needs it:

```php
$returnValue = kirby()->plugin('test-plugin');

```

The `test-plugin` plugin won’t be loaded again later, so using that function as often as you need doesn’t cause any problems. The return value is stored for later use.

---

_[View the full topic](https://forum.getkirby.com/t/plugin-load-order/1701)._
