Plugin Directory

Changeset 3330683


Ignore:
Timestamp:
07/19/2025 04:45:05 PM (9 months ago)
Author:
demispatti
Message:

Updated the code

Location:
cb-parallax/trunk/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cb-parallax/trunk/admin/includes/class-meta-box.php

    r3330678 r3330683  
    203203    /**
    204204     * Retrieves the user-defined optuons and orchestrates the functions that display the form and the settings fields.
    205      *
    206      * @param \WP_Post $post
    207      */
    208     public function meta_box_display($post) : void
     205     */
     206    public function meta_box_display() : void
    209207    {
    210208        global $post;
  • cb-parallax/trunk/admin/menu/includes/class-options.php

    r3330682 r3330683  
    698698     * Returns the plugin options based on the plugin settings or the post meta data respectively.
    699699     *
    700      * @param mixed | \WP_Post $post | bool false
    701      *
    702700     * @return array
    703701     */
    704     public function get_plugin_options($post) : array
     702    public function get_plugin_options() : array
    705703    {
    706704        global $post;
  • cb-parallax/trunk/admin/partials/class-help-sidebar-display.php

    r3330678 r3330683  
    22
    33namespace CbParallax\Admin\Partials;
     4
     5use WP_Screen;
    46
    57/**
     
    2931     * @since 0.9.0
    3032     */
    31     public static function help_sidebar_display(string $domain, $current_screen) : string
     33    public static function help_sidebar_display(string $domain, WP_Screen $current_screen) : string
    3234    {
    3335        $html = $current_screen->get_help_sidebar();
Note: See TracChangeset for help on using the changeset viewer.