Plugin Reviews

Insert PHP

Run PHP code inserted into WordPress posts and pages.


Average Rating
4.7 out of 5 stars
You are currently viewing the reviews that provided a rating of 5 stars. Click here to see all reviews.
Works as advertised
By ,

Nice work!

I'm struggling with this code
By , for WP 3.9


I'm adding this to the Product Short Description to try and change the "Add to Cart" to "Pre-order", but it doesn't work (N.B. the PHP works fine when adding it to functions.php, but that changes all the buttons and I only want it for some pages):


add_filter( 'add_to_cart_text', 'woo_custom_cart_button_text' );

add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' );

add_filter( 'woocommerce_product_add_to_cart_text', 'woo_custom_cart_button_text' );
function woo_custom_cart_button_text()
return __( 'Pre-order', 'woocommerce' );

[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]


Any idea why this is?
The theme I'm using is woocommerce one called Blaszok.

Any help will be deeply appreciated as I'm at my wits end with this :(

Awesome plugin
By ,

The plugin is very useful and it gives many features that other php plugins lack.

Simple and efficient
By , for WP 3.8.1

Great and very useful job, thanks!

Will this work with
By , for WP 3.8.1

I am trying to add a php code for a slider plugin to my website header or pages. Will this work?

EX Tag:
<?php if(sb_slides_display()){sb_slides_display();} ?>

WPDB() class
By , for WP 3.8.1

Hi, it is great plugin. even wordpress functions is working in it, but i tried to work with WPDB class is not working . how can i include it?

Does exactly what it says!
By , for WP 3.8.1

Makes adding PHP so simple! Love it.

Does EXACTLY what it says it does!
By , for WP 3.8.1

Thank you. I have to use PHPEnkoder for my clients websites to block their email addresses from spammers. I needed to turn it off on certain pages only for WooCommerce and LearnDash. That required putting PHP code in the course and shopping cart pages. Your plugin works like a charm!

Thank you, thank you, thank you!

Good plugin, better author.
By , for WP 3.6.1

The plugin works just fine. But Bill's support is even better. I installed the plugin and wasn't able to get the right code in combination with an iframe. He gate me the exact code after one question!!!

worked as expected
By , for WP 3.6.1

Worked perfectly without any issues. Great work.

You must log in to submit a review. You can also log in or register using the form near the top of this page.