3.15.3
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
if ( function_exists( 'tve_editor_url' ) ) {
|
||||
/**
|
||||
* Forces Thrive Visual Editor’s bot detection to assume a human visitor.
|
||||
*
|
||||
* @since 2.8.11
|
||||
* @author Remy Perona
|
||||
*
|
||||
* @param boolean|integer $bot_detection 1|0 when crawler has|not been detected, FALSE when user agent string is unavailable
|
||||
* @return integer
|
||||
*/
|
||||
add_filter( 'tve_dash_is_crawler', '__return_zero', PHP_INT_MAX );
|
||||
}
|
||||
Reference in New Issue
Block a user