Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders
Mollie::get_custom_settings_url
Get the URL to the custom settings page for Mollie.
Method of the class: Mollie{}
No Hooks.
Returns
String
. The URL to the custom settings page for Mollie.
Usage
// private - for code of main (parent) class only $result = $this->get_custom_settings_url( $section ): string;
- $section(string)
- The section to navigate to.
Default: ''
Mollie::get_custom_settings_url() Mollie::get custom settings url code WC 9.9.3
private function get_custom_settings_url( string $section = '' ): string { $settings_url = admin_url( 'admin.php?page=wc-settings&tab=mollie_settings' ); if ( ! empty( $section ) ) { $settings_url = add_query_arg( 'section', $section, $settings_url ); } return $settings_url; }