Astra_Related_Posts
Related Posts Initial Setup
Description
Source
File: inc/modules/related-posts/class-astra-related-posts.php
class Astra_Related_Posts { /** * Constructor function that initializes required actions and hooks * * @since 3.5.0 */ public function __construct() { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require_once ASTRA_RELATED_POSTS_DIR . 'class-astra-related-posts-loader.php'; require_once ASTRA_RELATED_POSTS_DIR . 'class-astra-related-posts-markup.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound // Include front end files. if ( ! is_admin() ) { require_once ASTRA_RELATED_POSTS_DIR . 'css/static-css.php'; // phpcs:ignore: WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require_once ASTRA_RELATED_POSTS_DIR . 'css/dynamic-css.php'; // phpcs:ignore: WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
Methods
- __construct — Constructor function that initializes required actions and hooks