aioseo_debug_unslash_escaped_posts

aioseo_debug_unslash_escaped_posts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.8.1.1

apply_filters('aioseo_debug_unslash_escaped_posts') is found 1 times:

  • /app/Common/Admin/Admin.php line 1075
    1071
    1072
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
    *
     * @return void
     */
    public function unslashEscapedDataPosts() {
        $postsToUnslash = apply_filters( 'aioseo_debug_unslash_escaped_posts', 200 );
        $timeStarted    = gmdate( 'Y-m-d H:i:s', aioseo()->core->cache->get( 'unslash_escaped_data_posts' ) );
     
        $posts = aioseo()->core->db->start( 'aioseo_posts' )
            ->select( '*' )
            ->whereRaw( "updated < '$timeStarted'" )
            ->orderBy( 'updated ASC' )