image_align_input_fields

Advertisement

Summery Summery

Retrieve HTML for the image alignment radio buttons with the specified one checked.

Syntax Syntax

image_align_input_fields( WP_Post $post, string $checked = '' )

Parameters Parameters

$post

(Required)

$checked

(Optional)

Default value: ''

Return Return

(string)

Source Source

File: wp-admin/includes/media.php

		return new WP_Error( 'image_sideload_failed' );
	}
}

/**
 * Retrieves the legacy media uploader form in an iframe.
 *
 * @since 2.5.0
 *
 * @return string|null
 */
function media_upload_gallery() {
	$errors = array();

	if ( ! empty( $_POST ) ) {
		$return = media_upload_form_handler();

		if ( is_string( $return ) ) {
			return $return;
		}

		if ( is_array( $return ) ) {
			$errors = $return;
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply