Verified Commit e291e10c authored by Erick Hitter's avatar Erick Hitter
Browse files

Ensure cron events never turn up in search

Redundant, I know, but there should be no mystery.
parent cee34de5
......@@ -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,
) );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment