Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
e291e10c
Verified
Commit
e291e10c
authored
Nov 04, 2016
by
Erick Hitter
Browse files
Ensure cron events never turn up in search
Redundant, I know, but there should be no mystery.
parent
cee34de5
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/class-cron-options-cpt.php
View file @
e291e10c
...
...
@@ -37,10 +37,11 @@ class Cron_Options_CPT {
*/
public
function
register_post_type
()
{
register_post_type
(
$this
->
post_type
,
array
(
'label'
=>
'Cron Events'
,
'public'
=>
false
,
'rewrite'
=>
false
,
'export'
=>
false
,
'label'
=>
'Cron Events'
,
'public'
=>
false
,
'rewrite'
=>
false
,
'export'
=>
false
,
'exclude_from_search'
=>
true
,
)
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment