bp_core_avatar_original_max_width()

Get the max width for original avatar uploads.


Description Description


Return Return

(int) The max width for original avatar uploads.


Top ↑

Source Source

File: bp-core/bp-core-avatars.php

function bp_core_avatar_original_max_width() {

	/**
	 * Filters the max width for original avatar uploads.
	 *
	 * @since 1.5.0
	 *
	 * @param int $value Value for the max width.
	 */
	return apply_filters( 'bp_core_avatar_original_max_width', (int) buddypress()->avatar->original_max_width );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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