AnsPress_Theme::body_class( array $classes )
Description #
Add anspress classes to body.
Parameters #
- $classesarray (Required) Body class attribute.
Source #
File: includes/class-theme.php
public static function body_class( $classes ) { // Add anspress class to body. if ( is_anspress() ) { $classes[] = 'anspress-content'; $classes[] = 'ap-page-' . ap_current_page(); } return $classes; }
Expand full source code Collapse full source code View on GitHub: includes/class-theme.php:139
Add your comment