AnsPress_Post_Table_Hooks::post_custom_message( array $messages )
Description #
Custom post update message.
Parameters #
- $messagesarray (Required) Messages.
Source #
File: admin/class-list-table-hooks.php
public static function post_custom_message( $messages ) { global $post; if ( 'answer' === $post->post_type && (int) ap_sanitize_unslash( 'message', 'g' ) === 99 ) { add_action( 'admin_notices', array( __CLASS__, 'ans_notice' ) ); } return $messages; }
Expand full source code Collapse full source code View on GitHub: admin/class-list-table-hooks.php:454
Add your comment