You appear to be a bot. Output may be restricted
Description
Usage
Tests_Media::test_attachment_url_to_postid_with_empty_url();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/media.php
Lines:
1 to 6 of 6
function test_attachment_url_to_postid_with_empty_url() { $post_id = attachment_url_to_postid( '' ); $this->assertInternalType( 'int', $post_id ); $this->assertEquals( 0, $post_id ); }