Returns the \LaraPress\Actions\Dispatcher
from the service container.
Returns the \LaraPress\Assets\Manager
from the service container.
Returns the \LaraPress\Filters\Dispatcher
from the service container.
Returns the theme path for larapress/assets
.
Returns \LaraPress\Posts\Post
from the service container if exists.
actions()->listen('admin_enqueue_scripts', function () {
assets()->enqueueStyle('admin-theme', larapress_assets('/admin/admin.css'));
});