Category : plugins

I was trying to implement an SSL redirect plugin, I am facing issues. because it is not working. suggest me an idea, how to implement it. And what is wrong with the code. <?PHP class SSLRedirect { private $redirect; private $uri; private $domain; private $current_domain; function __construct() { $this->uri = $_SERVER[‘REQUEST_URI’]; $this->domain = $_SERVER[‘HTTP_HOST’]; $this->current_domain ..

Read more

I’m pretty new at this and don’t have much experience with PHP but need help if possible and will try to provide as much context as I can. I inherited a Woocommerce/Wordpress site and currently, there’s a Plugin called Woo Delivery Date & Time Pro by Coderockz, which allows us to be able create local ..

Read more

I try to create my custom payment gateway for woocommerce , but i have small problem in the cancelation process when i call the cancel api for the gateway i use action hook to call my cancelation function add_action( ‘woocommerce_order_status_changed’,’woo_order_status_change_custom’ , 10, 3); public function woo_order_status_change_custom($order_id, $old_status, $new_status ){ // custom api code } and ..

Read more

I am trying to extend the WP class WP_List_Table within a plugin. I am using the code found below. When I excecute my script I get the following message: "Fatal error: Uncaught Error: Call to undefined function convert_to_screen() in /home/u794297373/domains/educoder.dk/public_html/lessannoyingcmsforwp/wp-admin/includes/class-wp-list-table.php:149 Stack trace: #0 /home/u794297373/domains/educoder.dk/public_html/lessannoyingcmsforwp/wp-content/plugins/lessannoyingcrmforwp/inc/API/Functions/LinkListTableFront.php(23): WP_List_Table->__construct(Array) #1 /home/u794297373/domains/educoder.dk/public_html/lessannoyingcmsforwp/wp-content/plugins/lessannoyingcrmforwp/inc/Base/SearchContactsFunctionController.php(33): IncAPIFunctionsLinkListTableFront->__construct() #2 /home/u794297373/domains/educoder.dk/public_html/lessannoyingcmsforwp/wp-content/plugins/lessannoyingcrmforwp/inc/Init.php(33): IncBaseSearchContactsFunctionController->register() #3 /home/u794297373/domains/educoder.dk/public_html/lessannoyingcmsforwp/wp-content/plugins/lessannoyingcrmforwp/lessannoyingcrmforwp.php(55): IncInit::register_services() #4 ..

Read more