I want to retrieve the default value of Post per page (the value that is set in settings->reading.
I’ve looked around and so far I’ve only found ways to query it. problem is i dont want to change what was set i just want to retrieve it for pagination purposes. i thought of using $something->post_count.
(i might be wrong but as i understand it returns the amount of posts displayed currently) but this could be wrong in some cases.
Also how can i get the total number of posts ?