bp_document_svg_icon_list()

Return the icon list.

Description

Return

(mixed|void)

Source

File: bp-document/bp-document-functions.php

function bp_document_svg_icon_list() {

	$icons = array(
		'default_1' => array(
			'icon' => 'bb-icon-file',
			'title' =>  __( 'Default', 'buddyboss' )
		),
		'default_2' => array(
			'icon' => 'bb-icon-file-zip',
			'title' => __( 'Archive', 'buddyboss' )
		),
		'default_3' => array(
			'icon' => 'bb-icon-file-mp3',
			'title' => __( 'Audio', 'buddyboss' )
		),
		'default_4' => array(
			'icon' => 'bb-icon-file-html',
			'title' => __( 'Code', 'buddyboss' )
		),
		'default_5' => array(
			'icon' => 'bb-icon-file-psd',
			'title' => __( 'Design', 'buddyboss' )
		),
		'default_6' => array(
			'icon' => 'bb-icon-file-png',
			'title' => __( 'Image', 'buddyboss' )
		),
		'default_7' => array(
			'icon' => 'bb-icon-file-pptx',
			'title' => __( 'Presentation', 'buddyboss' )
		),
		'default_8' => array(
			'icon' => 'bb-icon-file-xlsx',
			'title' => __( 'Spreadsheet', 'buddyboss' )
		),
		'default_9' => array(
			'icon' => 'bb-icon-file-txt',
			'title' => __( 'Text', 'buddyboss' )
		),
		'default_10' => array(
			'icon' => 'bb-icon-file-video',
			'title' => __( 'Video', 'buddyboss' )
		),
	);

	return apply_filters( 'bp_document_svg_icon_list', $icons );
}

Changelog

Changelog
Version Description
BuddyBoss 1.4.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.