akismet_optimize_table

过滤钩子
apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000)

akismet_optimize_table – 这个钩子用于优化Akismet数据库表的性能。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->comments ) ) // lucky number
if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->comments ) ) // lucky number
if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->comments ) ) // lucky number

常见问题

FAQs
查看更多 >