• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Test_WP_Application_Passwords::data_create_new_application_password() –

You appear to be a bot. Output may be restricted

Description

Usage

Test_WP_Application_Passwords::data_create_new_application_password();

Parameters

Returns

void

Source

File name: wordpress-develop-tests/phpunit/tests/rest-api/application-passwords.php


Lines:

1 to 12 of 12
  public function data_create_new_application_password() {
    return array(
      'should create new password when no passwords exists' => array(
        'args' => array( 'name' => 'test3' ),
      ),
      'should create new password when name is unique'      => array(
        'args'  => array( 'name' => 'test3' ),
        'names' => array( 'test1', 'test2' ),
      ),
    );
  }
 

 View on GitHub

Published: 20th March 2022 | Last updated: 20th March 2022

Primary Sidebar

Information

Function name: Test_WP_Application_Passwords::data_create_new_application_password
Class ref: Test_WP_Application_Passwords
Plugin ref: WordPress develop tests
Version: 5.9.3
Sourcefile: phpunit/tests/rest-api/application-passwords.php
File ref: phpunit/tests/rest-api/application-passwords.php
Deprecated?: No
API Letters: A,D,P,T,W

Footer

WordPress develop tests
WordPress develop tests
WordPress develop tests a2z
WordPress 6.3.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  develop.wp-a2z.org
© Copyright WordPress develop tests 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites