Dashboard Widget

Actions

  • postplanner_before_dashboard_widget
  • postplanner_after_dashboard_widget
  • post_planner_dashboard_heading
  • post_planner_dashboard_data
  • post_planner_dashboard_settings

Filters

  • post_planner_dashboard_heading
    esc_attr__( 'Post Planner', 'post-planner' )
  • post_planner_dashboard_topic_heading
    '<th>'.esc_html__( 'Topic', 'post-planner' ).'</th>'
  • post_planner_dashboard_status_heading
    '<th>'.esc_html__( 'Status', 'post-planner' ).'</th>'
  • post_planner_dashboard_assignment_heading
    '<th>'.esc_html__( 'Assigned To', 'post-planner' ).'</th>'
  • post_planner_dashboard_duedate_heading
    '<th>'.esc_html__( 'Due Date', 'post-planner' ).'</th>'
  • post_planner_dashboard_action_heading
    '<th class="{sorter: false} no-sort">'.esc_html__( 'Associated', 'post-planner' ).'</th>'
  • post_planner_dashboard_topic
    '<td class="planner-dashboard-topic"><a href="'.admin_url( 'post.php?post='.$id.'&action=edit' ).'">'.get_the_title().'</a></td>

    2 Arguments: $id, get_the_title()

  • post_planner_dashboard_status
    '<td>'.sanitize_text_field( PostPlanner_Loader::$statuses[$status_meta]['name'] ).'</td>'

    1 Argument: PostPlanner_Loader::$statuses[$status_meta][‘name’]

  • post_planner_dashboard_assignment
    '<td class="planner-dashboard-author" id="'.$assign_meta.'">'.$assignment.'</td>'

    2 Arguments: $assign_meta, $assignment

  • post_planner_dashboard_duedate
    '<td>'.sanitize_text_field( $duedate_meta ).'</td>', $duedate_meta 
  • post_planner_dashboard_action
    '<td><span class="planner-post-type">'.$planner_post_type.'</span>'.$action.'</td>'

    2 Arguments: $planner_post_type, $action

  • post_planner_dashboard_no_planners
    '<tr><td>'.esc_html__( 'No existing post planners', 'post-planner' ).'</td></tr>'

Planner Metabox

Actions

  • post_planner_before_planner_metabox
  • post_planner_after_planner_metabox
  • post_planner_before_details
  • post_planner_after_details
  • post_planner_before_references
  • post_planner_after_references
  • post_planner_before_files
  • post_planner_after_files
  • post_planner_before_images
  • post_planner_after_images
  • post_planner_before_checklist
  • post_planner_after_checklist
  • post_planner_before_comments
  • post_planner_after_comments
  • post_planner_before_reference_metabox
  • post_planner_after_reference_metabox
  • post_planner_before_file_metabox
  • post_planner_after_file_metabox
  • post_planner_before_image_metabox
  • post_planner_after_image_metabox
  • post_planner_before_associated_metabox
  • post_planner_after_associated_metabox
  • post_planner_before_publish_metabox
  • post_planner_after_publish_metabox
  • post_planner_before_checklist_metabox
  • post_planner_after_checklist_metabox
  • post_planner_before_comments_metabox
  • post_planner_after_comments_metabox
  • post_planner_remove_post_meta_boxes
  • post_planner_before_todolist
  • post_planner_after_todolist
  • post_planner_before_todolist_metabox
  • post_planner_after_todolist_metabox
  • post_planner_todo_meta, $id
  • post_planner_todo_completed_meta, $id

Filters

  • post_planner_planner_metabox_title
    Default: esc_attr__( ‘Post Planner’, ‘post-planner’ )
  • post_planner_publish_metabox_title
    Default: esc_attr__( ‘Publish’, ‘post-planner’ )
  • post_planner_details_metabox_title
    Default: esc_html__( ‘Details’, ‘post-planner’ )
  • post_planner_images_metabox_title
    Default: esc_attr__( ‘Images’, ‘post-planner’ )
  • post_planner_references_metabox_title
    Default: esc_attr__( ‘References’, ‘post-planner’ )
  • post_planner_files_metabox_title
    Default: esc_attr__( ‘Files’, ‘post-planner’ )
  • post_planner_comments_metabox_title
    Default: esc_attr__( ‘Comments’, ‘post-planner’ )
  • post_planner_checklist_metabox_title
    Default: esc_attr__( ‘Checklist’, ‘post-planner’ )
  • post_planner_todolist_metabox_title
    Default: esc_attr__( ‘To-Do List’, ‘post-planner’ )
  • post_planner_associated_metabox_title
    Default: esc_attr__( ‘Associated Content’, ‘post-planner’ )
  • post_planner_create_planner_link
    '<p class="alignright"><a href="" class="button-secondary" id="create-new-planner">'.esc_html__( 'Create Planner', 'post-planner' ).'</a></p>'
  • post_planner_view_planner_link
    '<p class="alignright"><a href="'.admin_url( 'post.php?post='.absint( $planner_id ).'&action=edit' ).'" class="button-secondary">'.esc_html__( 'View Planner', 'post-planner' ).'</a></p>'

    1 Argument: absint( $planner_id )

  • post_planner_display_status
    '<p class="post-planner-box">'.esc_html__( 'Status', 'post-planner' ).': '.sanitize_text_field( PostPlanner_Loader::$statuses[$post_planner_publish_mb->get_the_value( 'status' )]['name'] ).'</p>'

    1 Argument: PostPlanner_Loader::$statuses[$post_planner_publish_mb->get_the_value( ‘status’ )][‘name’]

  • post_planner_display_duedate
    '<p class="post-planner-box">'.esc_html__( 'Due Date', 'post-planner' ).': '.sanitize_text_field( $post_planner_publish_mb->get_the_value( 'duedate' ) ).'</p>'

    1 Argument: $post_planner_publish_mb->get_the_value( ‘duedate’ )

  • post_planner_display_details
    Default: $content
  • post_planner_display_assignment
    '<p class="planner-box">'.esc_html__( 'Assigned To', 'post-planner' ).': '.sanitize_text_field( $assign_user->display_name ).'</p>'

    1 Argument: $assign_user->display_name

  • post_planner_references_description
    '<p class="description">'.esc_html__( 'Organize the references in the order you want them to appear by dragging and dropping the items. Use the Insert button to add a reference notation for that item. Use Insert List to add a list of all the references.', 'post-planner' ).'</p>'
  • post_planner_files_description
    '<p class="description">'.esc_html__( 'Organize the files in the order you want them to appear by dragging and dropping the items.', 'post-planner' ).'<br />'.__( 'Use the Insert button to add only that specific file. Use Insert List to add a list of all the files.', 'post-planner' ).'</p>'
  • post_planner_images_description
    '<p class="description">'.esc_html__( 'Organize the images in the order you want them to appear by dragging and dropping the items.', 'post-planner' ).'<br />'.esc_html__( 'Use the Insert button to add only that specific image.', 'post-planner' ).( current_theme_supports( 'post-thumbnails' ) ? ' '.esc_html__( 'Use the Star icon to set the image as the Featured Image.', 'post-planner' ) : '' ).' '.esc_html__( 'Use Insert All Images to add all of the images.', 'post-planner' ).'</p>'
  • post_planner_no_todo_items
    Default: esc_html__( ‘There are no items to do.’, ‘post-planner’ )
  • post_planner_no_completed_todo_items
    Default: esc_html__( ‘There are no completed items.’, ‘post-planner’ )
  • post_planner_add_todo
    Default: esc_html__( ‘Add New To-Do Item’, ‘post-planner’ )
  • post_planner_insert_files
    Default: esc_attr__( ‘Insert File List’, ‘post-planner’ )
  • post_planner_no_files
    Default: esc_html__( ‘No files found’, ‘post-planner’ )
  • post_planner_insert_references
    Default: esc_attr__( ‘Insert References List’, ‘post-planner’ )
  • post_planner_no_references
    Default: esc_html__( ‘No references found’, ‘post-planner’ )
  • post_planner_insert_images
    Default: esc_attr__( ‘Insert All Images’, ‘post-planner’ )
  • post_planner_no_images
    Default: esc_html__( ‘No images found’, ‘post-planner’ )

Settings

Actions

  • post_planner_settings_general
  • post_planner_settings_advanced
  • post_planner_settings_statuses
  • post_planner_settings_checklist

Miscellaneous

Actions

  • post_planner_set_roles

Filters

  • post_planner_associate_files
    Default: true
  • post_planner_associate_images
    Default: true
  • post_planner_listing_no_duedate
    Default: esc_attr__( ‘No Due Date’, ‘post-planner’ )
  • post_planner_listing_no_assignment
    Default: esc_attr__( ‘Unassigned’, ‘post-planner’ )
  • post_planner_listing_checklist
    Default: $completed.’/’.count( PostPlanner_Loader::$checklist )
    2 Arguments: $completed, PostPlanner_Loader::$checklist
  • post_planner_setup_statuses
    Default: $statuses
  • post_planner_columns
    Default: $columns
  • post_planner_sortable_columns
    Default: $columns
  • post_planner_category_query
    Default: $args
  • post_planner_query
    Default: $args
  • post_planner_types_array
    Default: array( ‘planner’ )
  • post_planner_associated_permission
    Default: current_user_can( ‘edit_post’, $associated_post_id )
    1 Argument: $planner_post_type
  • post_planner_associated_permissions
    Default: current_user_can( ‘edit_posts’ )
    1 Argument: $type
  • post_planner_associated_content_args
    Default: $args
  • post_planner_topic
    Default: __( ‘Topic’, ‘post-planner’ )
  • post_planner_comments
    Default: esc_attr__( ‘Comments’, ‘post-planner’ )
  • post_planner_checklist
    Default: esc_attr__( ‘Checklist’, ‘post-planner’ )
  • post_planner_duedate
    Default: esc_html__( ‘Due Date’, ‘post-planner’ )
  • post_planner_status
    Default: esc_html__( ‘Status’, ‘post-planner’ )
  • post_planner_assignments
    Default: esc_html__( ‘Assign To’, ‘post-planner’ )
  • post_planner_post_type
    Default: esc_html__( ‘Post Type’, ‘post-planner’ )
  • post_planner_category
    Default: esc_html__( ‘Category’, ‘post-planner’ )
  • post_planner_name
    Default: _x( ‘Planner’, ‘post type general name’, ‘post-planner’ )
  • post_planner_singular_name
    Default: x( ‘Planner’, ‘post type singular name’, ‘post-planner’ )
  • post_planner_add_new
    Default: __( ‘Add New Planner’, ‘post-planner’ )
  • post_planner_edit
    Default: __( ‘Edit Planner’, ‘post-planner’ )
  • post_planner_new
    Default: __( ‘New Planner’, ‘post-planner’ )
  • post_planner_view
    Default: __( ‘View Planner’, ‘post-planner’ )
  • post_planner_search
    Default: __( ‘Search Planners’, ‘post-planner’ )
  • post_planner_categories_name
    Default: _x( ‘Categories’, ‘taxonomy general name’, ‘post-planner’ )
  • post_planner_categories_singular
    Default: _x( ‘Category’, ‘taxonomy singular name’, ‘post-planner’ )
  • post_planner_add_new_comment
    Default: esc_html__( ‘Add New Comment’, ‘post-planner’ )
  • post_planner_add_comment
    Default: esc_attr__( ‘Add Comment’, ‘post-planner’ )
  • post_planner_add_new_file
    Default: esc_html__( ‘Add New File’, ‘post-planner’ )
  • post_planner_file_title
    Default: esc_html__( ‘File Title’, ‘post-planner’ )
  • post_planner_file_url
    Default: esc_html__( ‘File URL’, ‘post-planner’ )
  • post_planner_insert_file
    Default: esc_attr__( ‘Insert File’, ‘post-planner’ )
  • post_planner_upload_file
    Default: esc_attr__( ‘Upload File’, ‘post-planner’ )
  • post_planner_add_new_image
    Default: esc_html__( ‘Add New Image’, ‘post-planner’ )
  • post_planner_image_title
    Default: esc_html__( ‘Image Title’, ‘post-planner’ )
  • post_planner_image_url
    Default: esc_html__( ‘Image URL’, ‘post-planner’ )
  • post_planner_insert_image
    Default: esc_attr__( ‘Insert Image’, ‘post-planner’ )
  • post_planner_upload_image
    Default: esc_attr__( ‘Upload Image’, ‘post-planner’ )
  • post_planner_add_new_reference
    Default: esc_html__( ‘Add New Reference’, ‘post-planner’ )
  • post_planner_link_title
    Default: esc_html__( ‘Link Title’, ‘post-planner’ )
  • post_planner_url
    Default: esc_html__( ‘URL’, ‘post-planner’ )
  • post_planner_target
    Default: esc_html__( ‘Target’, ‘post-planner’ )
  • post_planner_listing_no_status
    Default: esc_attr__( ‘No Status’, ‘post-planner’ )
  • post_planner_view_all_statuses
    Default: esc_attr__( ‘View All Statuses’, ‘post-planner’ )
  • post_planner_view_all_assignments
    Default: esc_attr__( ‘View All Assignments’, ‘post-planner’ )
  • post_planner_type
    Default: esc_attr__( ‘Type’, ‘post-planner’ )
  • post_planner_email_url
    Default: esc_html__( ‘Planner URL’, ‘post-planner’ )