Showing 9,653 of 9,653 total issues
The method get_admin_slide is not named in camelCase. Open
protected function get_admin_slide()
{
// get some slide settings
$imageHelper = new MetaSliderImageHelper($this->slide->ID, 150, 150, 'false', $this->use_wp_image_editor());
$thumb = $imageHelper->get_image_url();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_carousel_css is not named in camelCase. Open
public function get_carousel_css($css, $settings, $slider_id)
{
if (isset($settings['carouselMode']) && 'true' === $settings['carouselMode']) {
$css .= "\n #metaslider_{$slider_id}.flexslider li {margin-right: {$this->carousel_item_margin}px;}";
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method metaslider_pro_tab is not named in camelCase. Open
public function metaslider_pro_tab()
{
if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
return wp_iframe([$this, 'iframe']);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method SetFlitePath is not named in camelCase. Open
public function SetFlitePath($sFlitePath)
{
$this->sFlitePath = $sFlitePath;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_or_update_or_delete_meta is not named in camelCase. Open
public function add_or_update_or_delete_meta($post_id, $name, $value)
{
$key = 'ml-slider_' . $name;
if ('false' === $value || '' === $value || !$value) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_nivo_slider_markup is not named in camelCase. Open
private function get_nivo_slider_markup($slide)
{
$attributes = apply_filters('metaslider_nivo_slider_image_attributes', [
'src' => $slide['src'],
'height' => $slide['height'],
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_setting is not named in camelCase. Open
public function get_setting($name)
{
if (!isset($this->settings[$name])) {
$defaults = $this->get_default_parameters();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_custom_javascript_before is not named in camelCase. Open
private function get_custom_javascript_before()
{
$type = $this->get_setting('type');
$javascript = '';
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method register_taxonomy is not named in camelCase. Open
public function register_taxonomy()
{
register_taxonomy('ml-slider', 'attachment', [
'hierarchical' => true,
'public' => false,
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method register_shortcode is not named in camelCase. Open
public function register_shortcode($atts)
{
if (!isset($atts['id'])) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_slider is not named in camelCase. Open
public function set_slider($id, $shortcode_settings = [])
{
$type = 'flex';
$settings = array_merge(get_post_meta($id, 'ml-slider_settings', true), $shortcode_settings);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method upgrade_to_pro is not named in camelCase. Open
public function upgrade_to_pro($links)
{
if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
$links[] = '<a href="http://www.metaslider.com/upgrade" target="_blank">' . __('Go Pro', 'metaslider') . '</a>';
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method all_meta_sliders is not named in camelCase. Open
private function all_meta_sliders($sort_key = 'date')
{
$sliders = false;
// list the tabs
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_param is not named in camelCase. Open
protected function get_param($param)
{
$params = [
'effect' => 'effect',
'slices' => 'slices',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_settings is not named in camelCase. Open
public function update_settings($new_settings)
{
$old_settings = $this->get_settings();
// convert submitted checkbox values from 'on' or 'off' to boolean values
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _isAlbum is not named in camelCase. Open
public function _isAlbum($cat)
{
$nbPhoto = $this->nbPhoto($cat);
return 0 != $nbPhoto;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method help_tab is not named in camelCase. Open
public function help_tab()
{
$screen = get_current_screen();
// documentation tab
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_theme is not named in camelCase. Open
private function get_theme()
{
$theme = $this->get_setting('theme');
if (!in_array($theme, ['dark', 'bar', 'light'])) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_html is not named in camelCase. Open
protected function get_html()
{
$return_value = "<div class='slider-wrapper theme-{$this->get_theme()}'>";
$return_value .= "\n <div class='ribbon'></div>";
$return_value .= "\n <div id='" . $this->get_identifier() . "' class='nivoSlider'>";
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method custom_media_uploader_tabs is not named in camelCase. Open
public function custom_media_uploader_tabs($strings)
{
//update strings
if (\Xmf\Request::hasVar('page', 'GET') && 'metaslider' == $_GET['page']) {
$strings['insertMediaTitle'] = __('Image', 'metaslider');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}