first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,39 @@
<?php
/**
* bbPress class
*
* @package OceanWP WordPress theme
*/
// If bbPress plugins doesn't exist then return.
if ( ! class_exists( 'bbPress' ) ) {
return;
}
if ( ! class_exists( 'OceanWP_bbPress' ) ) :
class OceanWP_bbPress {
/**
* Setup class.
*
* @since 1.4.0
*/
public function __construct() {
add_action( 'wp_enqueue_scripts', array( $this, 'add_custom_css' ) );
}
/**
* Load custom CSS file
*
* @since 1.4.3
*/
public static function add_custom_css() {
wp_enqueue_style( 'oceanwp-bbpress', OCEANWP_CSS_DIR_URI .'third/bbpress.min.css' );
}
}
endif;
return new OceanWP_bbPress();