New to Translating WordPress? Read through our Translator Handbook to get started. Hide
Prio | Original string | Translation | — |
---|---|---|---|
The plugin now stores an instance of the class in a global variable (<code>$postlockdown</code>) instead of using static class methods.↵ If you're a developer and use any of the static methods like <code>PostLockdown::is_post_protected( $post_id )</code> in your theme code then↵ you'll need to update your code to the following to be able to use v2.0: | You have to log in to add a translation. | Details | |
Original untranslated
The plugin now stores an instance of the class in a global variable (<code>$postlockdown</code>) instead of using static class methods.↵
If you're a developer and use any of the static methods like <code>PostLockdown::is_post_protected( $post_id )</code> in your theme code then↵
you'll need to update your code to the following to be able to use v2.0:
You have to log in to edit this translation. |
|||
<code>postlockdown_column_label</code> - String containing the heading/label for the status column on post lists. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_column_label</code> - String containing the heading/label for the status column on post lists.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_column_html</code> - String of HTML showing the locked or protected status of a post in the status column on post lists. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_column_html</code> - String of HTML showing the locked or protected status of a post in the status column on post lists.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_column_hidden_default</code> - Boolean which dictates whether the status column should appear by default on post lists. Defaults to false. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_column_hidden_default</code> - Boolean which dictates whether the status column should appear by default on post lists. Defaults to false.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
Are there any major changes in v2.0? | You have to log in to add a translation. | Details | |
Original untranslated
Are there any major changes in v2.0?
CommentFound in faq header. You have to log in to edit this translation. |
|||
A page list showing one regular page, one locked page and one protected page with the plugin's status column visible. | You have to log in to add a translation. | Details | |
Original untranslated
A page list showing one regular page, one locked page and one protected page with the plugin's status column visible.
CommentScreenshot description. You have to log in to edit this translation. |
|||
The following filters are used throughout the plugin: | You have to log in to add a translation. | Details | |
Original untranslated
The following filters are used throughout the plugin:
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
By default, the plugin classes a non-admin as a user who does not have the <code>manage_options</code> capability e.g an Editor.↵ The capability can be filtered using the <code>postlockdown_admin_capability</code> filter. | You have to log in to add a translation. | Details | |
Original untranslated
By default, the plugin classes a non-admin as a user who does not have the <code>manage_options</code> capability e.g an Editor.↵
The capability can be filtered using the <code>postlockdown_admin_capability</code> filter.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
<code>postlockdown_protected_posts</code> - Array of protected post IDs. Allows you to programmatically add or remove post IDs. Both the key AND value must be set to the post ID. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_protected_posts</code> - Array of protected post IDs. Allows you to programmatically add or remove post IDs. Both the key AND value must be set to the post ID.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_locked_posts</code> - Array of locked post IDs. Allows you to programmatically add or remove post IDs. Both the key AND value must be set to the post ID. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_locked_posts</code> - Array of locked post IDs. Allows you to programmatically add or remove post IDs. Both the key AND value must be set to the post ID.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_get_posts</code> - Array of args to pass to get_posts(). | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_get_posts</code> - Array of args to pass to get_posts().
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_excluded_post_types</code> - Array of post types to exclude from search. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_excluded_post_types</code> - Array of post types to exclude from search.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_capabilities</code> - Array of capabilities to restrict. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_capabilities</code> - Array of capabilities to restrict.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
<code>postlockdown_admin_capability</code> - The capability a user must have to bypass locked/protected posts restrictions. Default is <code>manage_options</code>. | You have to log in to add a translation. | Details | |
Original untranslated
<code>postlockdown_admin_capability</code> - The capability a user must have to bypass locked/protected posts restrictions. Default is <code>manage_options</code>.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
Are there any other filters I can use? | You have to log in to add a translation. | Details | |
Original untranslated
Are there any other filters I can use?
CommentFound in faq header. You have to log in to edit this translation. |
Export as
Comment
Found in faq paragraph.