Skip to Content

fpo_bg_image()

An easy way to create a background image FPO for prototyping.

PHP April 27, 2017

Usage

PHP
nebula()->fpo_bg_image($type, $color)

Parameters

$type
(Optional) (String) The type of placeholder image
Default: None

$color
(Optional) (String) The color of the background
Default: #aaa

Parameter Notes

If $type is “unsplash” or “photo”, Nebula will use a random Unsplash.it image.

Request or provide clarification »

Examples

PHP
<div class="row" style="<?php fpo_bg_image(); ?>">

Additional Notes

Note: The unsplash_it() function may have been removed from Nebula and therefore may need to update this function.

Source File

This function was not found in /libs/Prototyping.php. Please report this error.

No Hooks

This function does not have any filters or actions available. Request one?

Override

This function can not be short-circuited with an override filter. Request one?