wp query – WordPress | WP_Query | The publication & # 39; offset & # 39; does not work and posts_per_page is not set to -1

Why does my random publish request ignore the offset value?


    & # 39; & # 39 ;, post
& # 39; post_status & # 39; => & Quot; publish & quot;
& # 39; category_name & # 39; => & # 39; social network & # 39 ;,
& # 39; posts_per_page & # 39; => $ number_of_recent_posts,
& # 39; orderby & # 39; => & # 39; post_date & # 39;
& # 39; order & # 39; => & # 39; DESC & # 39;
)
$ rec_arr_posts = new WP_Query ($ recentargs);

if ($ rec_arr_posts-> have_posts ()):

while ($ rec_arr_posts-> have_posts ()):
$ rec_arr_posts-> the_post ();
?>
<div class = "gys-cube-cube-gys-cube" style = "
            
                padding: calc (px / 2);
            
        ">
<div class = "cube-inner" style = "
                
                    padding: calc (px * 2);
                
                
                    
                    
                    
                    Color: ;
                
                
                    
                    
                    
                    font size: px;
                
                
                    
                    
                    
                    Background color: ;
                
                
                    
                    
                    
                    background-image: url (& # 39;& # 39;);
                

                ID)):?>
                    ID), & # 39; single-post-thumbnail & # 39;); ?>
background-image: url (& # 39;& # 39;);
                
            ">

<a href = ""class =" box-link "target =" _ blank ">
                <div class = "cube-inner-hover" style = "
                    
                        -webkit-transition: background color easing;
-moz-transition: background color easing;
-o-transition: background color easing;
transition: background color easing;
                    
                ">