-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
fumikito edited this page Feb 17, 2016
·
2 revisions
/**
* nichan_post_type_args
*
* @param array $args Arguments passed to `register_post_type`.
* @param string $post_type Post type name
* @return array
*/
/**
* If css can be load
*
* @param bool $load_style Flag used for deciding to load plugin's CSS.
* @return bool
*/
/**
* nichan_post_args
*
* Post array passed to `wp_insert_post` on thread creation.
*
* @param array $posts_arr
* @return array
*/
/**
* nichan_thread_message
*
* Message displayed on thread creation.
*
* @param string $message
* @param string $post_type
* @return string
*/
/**
* nichan_preview_limit
*
* Preview URL's time limit.
*
* @param int $time_limit Time limit in seconds.
* @return int
*/
/**
* nichan_pending_mail
*
* E-mail address to which review query will be sent.
*
* @param string E-mail. Default, admin's e-mail.
* @param \WP_Post $post Newly created post object.
* @return false|string If false returned, mail was not sent.
*/
/**
* nichan_pending_mail_body
*
* Mail body of review query.
*
* @param string $body Mail message
* @param \WP_Post $post
* @return string
*/
/**
* nichan_template_path
*
* Template path filter to change included file.
*
* @param string $template_path
* @param string $template
* @return string
*/
/**
* nichan_after_form
*
* Executed on create thread form
*
* @param stdClass $post_type
*/