# authorizer/2.8.0/sample-theme-add-branding/functions.php

Authorizer, version 2.8.0. 15 lines.

- Page: https://pluginprobe.com/plugins/authorizer/2.8.0/code/sample-theme-add-branding/functions.php
- Raw: https://pluginprobe.com/plugins/authorizer/2.8.0/raw/sample-theme-add-branding/functions.php
- Modified: 2015-04-01T23:40:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/authorizer/2.8.0/code/sample-theme-add-branding/functions.php#L10-L20`.

```php
<?php

// Custom function to add a branding option to the Authorizer plugin.
function my_authorizer_add_branding_option( $branding_options ) {
	$new_branding_option = array(
		'value' => 'your_brand',
		'description' => 'Custom Your Brand Login Screen',
		'css_url' => get_stylesheet_directory_uri() . '/extend/authorizer/example/css/example.css',
		'js_url' => get_stylesheet_directory_uri() . '/extend/authorizer/example/js/example.js',
	);
	array_push( $branding_options, $new_branding_option );
	return $branding_options;
}
add_filter( 'authorizer_add_branding_option', 'my_authorizer_add_branding_option' );

```
