Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to get some settings #33

Open
monster010 opened this issue Aug 22, 2023 · 1 comment
Open

Function to get some settings #33

monster010 opened this issue Aug 22, 2023 · 1 comment

Comments

@monster010
Copy link

monster010 commented Aug 22, 2023

Heyho,

a function to preserve some not all settings would be nice.
As a function parameter simply an array with the keys and you get back an array with the keys and the values.

Example:

<?php

$settings = settings()->only('site_name', 'site_url', 'site_xyz'...)

Kind regards

@cacing69
Copy link

that's the same as what I thought @monster010 , and I've made a pull request here

#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants