You can add constants to wp-config.php or the theme’s functions.php file to control some aspects of the plugin. Available constants to set are:
// Allow users with edit_posts capability access to the Post Snippets admin.
define(‘POST_SNIPPETS_ALLOW_EDIT_POSTS’, true);
// Disable PHP Execution in snippets and removes the options from admin.
define(‘POST_SNIPPETS_DISABLE_PHP’, true);
You can retrieve a Post Snippet directly from PHP, in a theme, for instance, by using the PostSnippets::getSnippet() method.