Answer the question
In order to leave comments, you need to log in
How to pass a numeric value from one Wordpress page to the body of another page?
Hello.
Right now I feel that I formulated the question somehow incorrectly, probably it’s not even clear, so I’ll try to explain)
There is a certain number on the individual page (private page) for example, let it be 30.
How can I display this digital value 30 on another page of your personal account? The bottom line is that for each user there should be a digital value corresponding to the value that is displayed on his individual page. It is necessary to somehow duplicate it so that the specified digital value on an individual page is also displayed on another page of the account in a certain place.
If someone managed to understand what I was trying to say I would be very grateful for the help.
Answer the question
In order to leave comments, you need to log in
get_user_meta - if it's in the user's profile ("The bottom line is that each user should have its own digital value")
get_option - if this setting is global for the site
get_post_meta - if it's stored in a record,
these are functions to get. to write there, use the update function. They are listed in the documentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question