Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Payments::get_action_url()
The task action URL.
Empty string means the task linking will be handled by the JS logic.
Method of the class: Payments{}
No Hooks.
Return
String
.
Usage
$Payments = new Payments(); $Payments->get_action_url();
Payments::get_action_url() Payments::get action url code WC 9.7.1
public function get_action_url() { // If the React-based Payments settings page is enabled, we want the task to link to the Payments Settings page. if ( Features::is_enabled( 'reactify-classic-payments-settings' ) ) { return admin_url( 'admin.php?page=wc-settings&tab=checkout' ); } // Otherwise, we want the task behavior to remain unchanged (link to the Payments task page). return ''; }