Update custom CSS filter and documentation
This commit is contained in:
parent
7b63d88124
commit
e3fde34700
@ -621,6 +621,14 @@ Filters the font array before the bundled-fonts.css stylesheet is built in the `
|
||||
|
||||
---
|
||||
|
||||
### `apply_filters( 'fictioneer_filter_pre_build_customize_css', $css )`
|
||||
Filters the CSS compiled from settings and theme options before it is minified and saved under `/cache/customize.css`. You can potentially append your own CSS or modify the current values, although that will require some regex.
|
||||
|
||||
**Parameters:**
|
||||
* $css (string) – The compiled customize CSS.
|
||||
|
||||
---
|
||||
|
||||
### `apply_filters( 'fictioneer_filter_recommendations_card_args', $card_args, $args )`
|
||||
Filters the arguments passed to the `partials/_card-recommendation` template part in the `fictioneer_recommendations_list( $args )` function, normally added via the `fictioneer_recommendations_after_content` hook.
|
||||
|
||||
|
@ -1032,7 +1032,7 @@ function fictioneer_build_customize_css( $content = null ) {
|
||||
|
||||
// --- Filters ---------------------------------------------------------------
|
||||
|
||||
$css = apply_filters( 'fictioneer_filter_customize_css', $css );
|
||||
$css = apply_filters( 'fictioneer_filter_pre_build_customize_css', $css );
|
||||
|
||||
// --- Minify ----------------------------------------------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user