apply_filters( 'jsps_require_main_loop', $required ) → {boolean}
Only add the buttons to the content of the main loop (not to widgets, related posts, etc.).
Off by default to keep the behavior of previous versions.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
$required |
boolean | false |
true to only print the buttons in the main loop.
|
- Since:
- 2.4.0 First version
- Source:
Returns:
- Type
- boolean