Add function to Dokan ajax class

This is the core developer of Dokan. There is a much simpler way to use your custom function for this case. This dokan_add_shipping_tracking_info action can be found within this template : /rafsuntaskin.com/wp-content/plugins/dokan/templates/orders/details.php . You can copy this into your theme and change the action to your custom function like this : rt_custom_add_shipping_tracking_info replaces dokan_add_shipping_tracking_info Then … Read more

I have a plugin where in I have to change the title of the page dynamically by sending parameter to the_title filter

You can use the is_page() function to only change it on a certain page. I’m assuming the slug of your company page is in fact company add_filter( ‘the_title’,’wpse_277956_the_title’, 10, 2 ); function wpse_277956_the_title( $title, $id ){ if( in_the_loop() && is_page( ‘company’ ) ) { return bmg_company_detail_shortcode( false, false ); } return $title; }

external Integration with wordpress timeout error

Just in case anyone else stumbles upon the same problem, here is the most robust disabling I could think of, and it seems to work as expected: ini_set(‘max_execution_time’, 0); set_time_limit(0); ignore_user_abort(true); ini_set(‘output_buffering’, ‘off’); ini_set(‘zlib.output_compression’, false); ini_set(‘implicit_flush’, true); ob_implicit_flush(true); while (ob_get_level()) { ob_end_flush(); } flush();