• Resolved Arif Uddin

    (@arifrhb)


    Please add the following code at the end of your bkash.php page to add Settings link, which helps user to directly go to the bKash Setting Options under woo-commerce page.

    //setting link by Arif Uddin
    function bkash_settings_link( $links ) {
        $settings_link = '<a href="admin.php?page=wc-settings&tab=checkout&section=softtech_bkash">' . __( 'Settings' ) . '</a>';
    	
    	
        array_push( $links, $settings_link );
      	return $links;
    }
    $plugin = plugin_basename( __FILE__ );
    add_filter( "plugin_action_links_$plugin", 'bkash_settings_link' );
    • This topic was modified 6 years, 10 months ago by Arif Uddin.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add settings link’ is closed to new replies.