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

Grant access to full JSON object #1

Open
isaacdew opened this issue May 13, 2019 · 0 comments
Open

Grant access to full JSON object #1

isaacdew opened this issue May 13, 2019 · 0 comments

Comments

@isaacdew
Copy link

isaacdew commented May 13, 2019

Could something like this be implemented in greenhouse-job-board-public.js starting on line 8?:

if(typeof ghjb_retrieve_json == 'function') {
	// console.log('Custom function called...');
        ghjb_retrieve_json(ghjb_json);
}

This would grant a developer access to the full JSON object and allow them to do whatever they need but still have the benefits of the API call being made via a plugin with a settings page. Can this also be implemented so that it's accessible in PHP? Maybe adding a get_ghjb_data() function to a class that can be referenced in functions.php?

@isaacdew isaacdew changed the title Grant access to full JSON data Grant access to full JSON object May 13, 2019
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

1 participant