D
D
danilkokorin2021-05-11 12:01:48
AJAX
danilkokorin, 2021-05-11 12:01:48

How to change the value of d variable in php via ajax?

Hello everyone, I really need your help! There is a variable in php: which is responsible for the number of posts displayed in wordpress get_posts() how to change its value to 12
$lol = 6;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-05-11
@vabka

No way. Mb you should store this value in the database, and change it with a certain HTTP request?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question