gdkob_register_storage($path)

Description

Register a new path for the templates storage. Use this function on the ‘init‘ action. If a template is located in the storage, and in the theme, priority is with the theme. If the template is an override of the default template, storages registered using this function have priority.

Parameters

This function must pass the path to the storage.

  • path:┬áIt can be anywhere inside the WordPress wp-content directory, and it has to be provided via a full path. If the path is invalid (doesn’t exist), it will not be added to the storages.
0
0
19
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply