PluginProbe
Authorizer / 2.9.8
Authorizer v2.9.8
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / sample-theme-add-branding / functions.php

functions.php in Authorizer 2.9.8, at sample-theme-add-branding/functions.php

15 lines 613 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Custom function to add a branding option to the Authorizer plugin.
4 function my_authorizer_add_branding_option( $branding_options ) {
5 $new_branding_option = array(
6 'value' => 'your_brand',
7 'description' => 'Custom Your Brand Login Screen',
8 'css_url' => get_stylesheet_directory_uri() . '/extend/authorizer/example/css/example.css',
9 'js_url' => get_stylesheet_directory_uri() . '/extend/authorizer/example/js/example.js',
10 );
11 array_push( $branding_options, $new_branding_option );
12 return $branding_options;
13 }
14 add_filter( 'authorizer_add_branding_option', 'my_authorizer_add_branding_option' );
15