array( 'endpoints' => array( Send_Test_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => Send_Test_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( Send_Test_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), Save_Connector_Settings_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => Save_Connector_Settings_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( Save_Connector_Settings_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), Save_Plugin_Settings_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => Save_Plugin_Settings_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( Save_Plugin_Settings_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), Get_Single_Email_Data_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => Get_Single_Email_Data_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( Get_Single_Email_Data_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), Cleanup_Data_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => Cleanup_Data_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( Cleanup_Data_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), ) ), ); } }