| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/open-graph-conditional.php.tar |
xbodynamge/lebauwcentre/wp-content/plugins/wordpress-seo/src/conditionals/open-graph-conditional.php0000644 00000001330 15112774022 0031152 0 ustar 00 home <?php
namespace Yoast\WP\SEO\Conditionals;
use Yoast\WP\SEO\Helpers\Options_Helper;
/**
* Conditional that is only met when the Open Graph feature is enabled.
*/
class Open_Graph_Conditional implements Conditional {
/**
* The options helper.
*
* @var Options_Helper
*/
private $options;
/**
* Open_Graph_Conditional constructor.
*
* @param Options_Helper $options The options helper.
*/
public function __construct( Options_Helper $options ) {
$this->options = $options;
}
/**
* Returns `true` when the Open Graph feature is enabled.
*
* @return bool `true` when the Open Graph feature is enabled.
*/
public function is_met() {
return $this->options->get( 'opengraph' ) === true;
}
}
xbodynamge/namtation/wp-content/plugins/wordpress-seo/src/conditionals/open-graph-conditional.php 0000644 00000001330 15112774346 0030475 0 ustar 00 home <?php
namespace Yoast\WP\SEO\Conditionals;
use Yoast\WP\SEO\Helpers\Options_Helper;
/**
* Conditional that is only met when the Open Graph feature is enabled.
*/
class Open_Graph_Conditional implements Conditional {
/**
* The options helper.
*
* @var Options_Helper
*/
private $options;
/**
* Open_Graph_Conditional constructor.
*
* @param Options_Helper $options The options helper.
*/
public function __construct( Options_Helper $options ) {
$this->options = $options;
}
/**
* Returns `true` when the Open Graph feature is enabled.
*
* @return bool `true` when the Open Graph feature is enabled.
*/
public function is_met() {
return $this->options->get( 'opengraph' ) === true;
}
}
home/xbodynamge/www/wp-content/plugins/wordpress-seo/src/conditionals/open-graph-conditional.php 0000644 00000001330 15113525310 0027370 0 ustar 00 <?php
namespace Yoast\WP\SEO\Conditionals;
use Yoast\WP\SEO\Helpers\Options_Helper;
/**
* Conditional that is only met when the Open Graph feature is enabled.
*/
class Open_Graph_Conditional implements Conditional {
/**
* The options helper.
*
* @var Options_Helper
*/
private $options;
/**
* Open_Graph_Conditional constructor.
*
* @param Options_Helper $options The options helper.
*/
public function __construct( Options_Helper $options ) {
$this->options = $options;
}
/**
* Returns `true` when the Open Graph feature is enabled.
*
* @return bool `true` when the Open Graph feature is enabled.
*/
public function is_met() {
return $this->options->get( 'opengraph' ) === true;
}
}