of_recognized_background_position
Get recognized background positions.
Description
(array) of_recognized_background_position();
Returns (array)
Usage
if ( !function_exists( 'of_recognized_background_position' ) ) { require_once '/inc/includes/class-options-sanitize.php'; } // NOTICE! Understand what this does before running. $result = of_recognized_background_position();
Defined (1)
The function is defined in the following location(s).
- /inc/includes/class-options-sanitize.php
- function of_recognized_background_position() {
- $default = array(
- 'top left' => __( 'Top Left', 'skt-black' ),
- 'top center' => __( 'Top Center', 'skt-black' ),
- 'top right' => __( 'Top Right', 'skt-black' ),
- 'center left' => __( 'Middle Left', 'skt-black' ),
- 'center center' => __( 'Middle Center', 'skt-black' ),
- 'center right' => __( 'Middle Right', 'skt-black' ),
- 'bottom left' => __( 'Bottom Left', 'skt-black' ),
- 'bottom center' => __( 'Bottom Center', 'skt-black' ),
- 'bottom right' => __( 'Bottom Right', 'skt-black')
- );
- return apply_filters( 'of_recognized_background_position', $default );
- }