WordPress Plugin PHP Not Calling Function

Without seeing your complete code, it’s a bit difficult to answer. Also it’s a big vague when you say that it’s not calling the function (are you getting any errors / warnings?) If you’ve got error reporting turned off, please turn it on. Also, try this: require_once(‘reviews.php’); reviewsPanel(); If the file is not included, “require” … Read more

Send email when a user registers Rest api

You don’t know the type of content that might be passed for the $user parameter, so let’s test it out. You will want to expand on these conditions and responses. This is just an example of the tests you probably want to make. function user_registered( $user ) { // Check to make sure it’s not … Read more

Passing data from a page to an external link

I’m not sure what do you want and i don’t know why cannot comment… Anyways when the user click over pay, make a request and retrieve from DB the cost then just make a redirect with your language to other page.

Insert Google Maps HTML in WordPress

I’m not sure, which wordpress version you are using but all wordpress versions supports custom html embedding on page. Here’s how you can do: (WordPress 5.1.1) Go to Pages Add/Edit Page Click on Plus Icon (step 1 in below screenshot) Search for Custom HTML (step 2 in below screenshot) 5. Paste map html in page … Read more