DataTables is a very popular and useful jQuery library to create powerful tables. In this article we will see how to create date range filters
Category: PHP

What is advanced custom fields in wordpress? By default WordPress provides 2 options to add data (title and description). If we need more fields we

Now a days, it is very important to implement secure an application form CSRF attacks. In this article we will apply CSRF in the php application to prevent CSRF attacks.

Detect which submit button is clicked when a form is submitted using PHP

By default, WordPress provides 2 options to add data (title and description). If we need more fields we need to customize it or use hooks.

Integrate posts dynamically from a WordPress website to another (WordPress or Non-WordPress) website.

Disable updates for a specific plugin in WordPress when an update is crashing your site.

We came across in such requirements where we need to display a number into string format, or need to convert a set of number(s) into

For single product: // create add to cart button for single product ID function rec_add_to_cart_button($atts) { $atts_var = shortcode_atts( array( ‘id’ => ”, ‘title’ =>

For multiple products: function woocommerce_maybe_add_multiple_products_to_cart() { if ( ! class_exists( ‘WC_Form_Handler’ ) || empty( $_REQUEST[‘add-to-cart’] ) || false === strpos( $_REQUEST[‘add-to-cart’], ‘,’ ) ) {