Api_Credentials::do_api_settings_updated_action( string $old_value, string $new_value )

Summary

Fires an action (once per pageload) when an API credential setting updates.


Parameters

$old_value

(string) (Required) Previous option value.

$new_value

(string) (Required) New option value.


Source

File: src/BigCommerce/Settings/Sections/Api_Credentials.php

	public function do_api_settings_updated_action( $old_value, $new_value ) {
		static $did_action;

		if ( ! $did_action ) {
			$did_action = true;

			/**
			 * Fires (once per pageload) when an API credential setting updates.
			 */
			do_action( 'bigcommerce/settings/api_credentials_updated' );
		}

	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.